HDFS-12465. Ozone: fix a KeySpaceManager startup message typo. Contributed by Nandakumar.

This commit is contained in:
Weiwei Yang 2017-09-16 01:00:58 +08:00 committed by Owen O'Malley
parent c551025ed6
commit eaf3732217

View File

@ -40,7 +40,6 @@
.KeySpaceManagerProtocolProtos.OzoneAclInfo;
import org.apache.hadoop.ozone.protocolPB
.KeySpaceManagerProtocolServerSideTranslatorPB;
import org.apache.hadoop.ozone.scm.StorageContainerManager;
import org.apache.hadoop.scm.protocol.ScmBlockLocationProtocol;
import org.apache.hadoop.scm.protocolPB.ScmBlockLocationProtocolClientSideTranslatorPB;
import org.apache.hadoop.scm.protocolPB.ScmBlockLocationProtocolPB;
@ -183,8 +182,7 @@ public KSMMetrics getMetrics() {
* @throws IOException if startup fails due to I/O error
*/
public static void main(String[] argv) throws IOException {
StringUtils.startupShutdownMessage(StorageContainerManager.class,
argv, LOG);
StringUtils.startupShutdownMessage(KeySpaceManager.class, argv, LOG);
try {
KeySpaceManager ksm = new KeySpaceManager(new OzoneConfiguration());
ksm.start();