svn merge -c 1373253 from trunk for HDFS-3802. StartupOption.name in HdfsServerConstants should be final.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1373258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-08-15 08:09:44 +00:00
parent b3121a4944
commit 2f7382cd07
2 changed files with 4 additions and 1 deletions

View File

@ -209,6 +209,9 @@ Release 2.0.1-alpha - UNRELEASED
HDFS-3803. Change BlockPoolSliceScanner chatty INFO log to DEBUG.
(Andrew Purtell via suresh)
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 @@ static public enum StartupOption{
FORCE("-force"),
NONINTERACTIVE("-nonInteractive");
private String name = null;
private final String name;
// Used only with format and upgrade options
private String clusterId = null;