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
parent b8e063ebcb
commit 055e556e67
1 changed files with 1 additions and 0 deletions

View File

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