HDFS-13316. Ozone: Update the ksm/scm CLI usage info. Contributed by Xiaoyu Yao.

This commit is contained in:
Nanda kumar 2018-04-04 20:34:42 +05:30 committed by Owen O'Malley
parent 6cc765fbb6
commit 43f7307829
2 changed files with 5 additions and 5 deletions

View File

@ -228,12 +228,12 @@ public class StorageContainerManager extends ServiceRuntimeInfoImpl
private static final String USAGE = private static final String USAGE =
"Usage: \n hdfs scm [genericOptions] " "Usage: \n oz scm [genericOptions] "
+ "[ " + StartupOption.INIT.getName() + " [ " + "[ " + StartupOption.INIT.getName() + " [ "
+ StartupOption.CLUSTERID.getName() + " <cid> ] ]\n " + StartupOption.CLUSTERID.getName() + " <cid> ] ]\n "
+ "hdfs scm [genericOptions] [ " + "oz scm [genericOptions] [ "
+ StartupOption.GENCLUSTERID.getName() + " ]\n " + + StartupOption.GENCLUSTERID.getName() + " ]\n " +
"hdfs scm [ " "oz scm [ "
+ StartupOption.HELP.getName() + " ]\n"; + StartupOption.HELP.getName() + " ]\n";
/** /**
* Creates a new StorageContainerManager. Configuration will be updated with * Creates a new StorageContainerManager. Configuration will be updated with

View File

@ -106,8 +106,8 @@ public final class KeySpaceManager extends ServiceRuntimeInfoImpl
LoggerFactory.getLogger(KeySpaceManager.class); LoggerFactory.getLogger(KeySpaceManager.class);
private static final String USAGE = private static final String USAGE =
"Usage: \n hdfs ksm [genericOptions] " + "[ " "Usage: \n oz ksm [genericOptions] " + "[ "
+ StartupOption.CREATEOBJECTSTORE.getName() + " ]\n " + "hdfs ksm [ " + StartupOption.CREATEOBJECTSTORE.getName() + " ]\n " + "oz ksm [ "
+ StartupOption.HELP.getName() + " ]\n"; + StartupOption.HELP.getName() + " ]\n";
/** Startup options. */ /** Startup options. */