HDFS-3802. StartupOption.name in HdfsServerConstants should be final. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1373253 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5aeabcdf6f
commit
9dff7876d9
|
@ -394,6 +394,9 @@ Branch-2 ( Unreleased changes )
|
|||
HDFS-3765. namenode -initializeSharedEdits should be able to initialize
|
||||
all shared storages. (Vinay and todd via todd)
|
||||
|
||||
HDFS-3802. StartupOption.name in HdfsServerConstants should be final.
|
||||
(Jing Zhao via szetszwo)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-2982. Startup performance suffers when there are many edit log
|
||||
|
|
|
@ -60,7 +60,7 @@ public final class HdfsServerConstants {
|
|||
FORCE("-force"),
|
||||
NONINTERACTIVE("-nonInteractive");
|
||||
|
||||
private String name = null;
|
||||
private final String name;
|
||||
|
||||
// Used only with format and upgrade options
|
||||
private String clusterId = null;
|
||||
|
|
Loading…
Reference in New Issue