HDFS-11815. CBlockManager#main should join() after start() service. Contributed by Chen Liang.
This commit is contained in:
parent
b8e063ebcb
commit
055e556e67
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue