From 2ae21d5387e1b85adc785de5257ae382c336e4ab Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 31 Oct 2018 17:01:49 +0900 Subject: [PATCH] Addendum: Fix potential FSImage corruption. Contributed by Xiao Chen. (cherry picked from commit dd70b1f53836961029767660398819a3b04eec58) --- .../test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java index 5cae2fcd772..1a046e865f5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java @@ -102,6 +102,8 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase { .add(DFSConfigKeys.DFS_NAMENODE_STARTUP_KEY); configurationPropsToSkipCompare.add(DFSConfigKeys .DFS_DATANODE_ENABLE_FILEIO_FAULT_INJECTION_KEY); + configurationPropsToSkipCompare.add(DFSConfigKeys + .DFS_IMAGE_EXPANDED_STRING_TABLES_KEY); // Allocate xmlPropsToSkipCompare = new HashSet();