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:
Tsz-wo Sze 2012-08-15 08:07:29 +00:00
parent 5aeabcdf6f
commit 9dff7876d9
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;