HDFS-11815. CBlockManager#main should join() after start() service. Contributed by Chen Liang.

This commit is contained in:
Xiaoyu Yao 2017-05-14 06:12:19 -07:00 committed by Owen O'Malley
parent a6013e2b5b
commit 821740e4d3
1 changed files with 1 additions and 0 deletions

View File

@ -363,5 +363,6 @@ public class CBlockManager implements CBlockServiceProtocol,
client, new XceiverClientManager(ozoneConf));
CBlockManager cbm = new CBlockManager(ozoneConf, storageClient);
cbm.start();
cbm.join();
}
}