File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/main
java/org/apache/hadoop/hdfs Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -899,7 +899,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
899899
900900 public static final String DFS_IMAGE_PARALLEL_LOAD_KEY =
901901 "dfs.image.parallel.load" ;
902- public static final boolean DFS_IMAGE_PARALLEL_LOAD_DEFAULT = true ;
902+ public static final boolean DFS_IMAGE_PARALLEL_LOAD_DEFAULT = false ;
903903
904904 public static final String DFS_IMAGE_PARALLEL_TARGET_SECTIONS_KEY =
905905 "dfs.image.parallel.target.sections" ;
Original file line number Diff line number Diff line change 13931393
13941394<property >
13951395 <name >dfs.image.parallel.load</name >
1396- <value >true </value >
1396+ <value >false </value >
13971397 <description >
13981398 If true, write sub-section entries to the fsimage index so it can
13991399 be loaded in parallel. Also controls whether parallel loading
14031403 Parallel loading is not compatible with image compression,
14041404 so if dfs.image.compress is set to true this setting will be
14051405 ignored and no parallel loading will occur.
1406+ Enabling this feature may impact rolling upgrades and downgrades if
1407+ the previous version does not support this feature. If the feature was
1408+ enabled and a downgrade is required, first set this parameter to
1409+ false and then save the namespace to create a fsimage with no
1410+ sub-sections and then perform the downgrade.
14061411 </description >
14071412</property >
14081413
You can’t perform that action at this time.
0 commit comments