nixosTests.hadoop.hbase: fix race condition
This commit is contained in:
parent
99384545e6
commit
6709f7cea3
@ -116,6 +116,9 @@ import ../make-test-python.nix (
|
||||
zookeeper.wait_for_unit("zookeeper")
|
||||
zookeeper.wait_for_open_port(2181)
|
||||
|
||||
# wait for HDFS cluster to be RW
|
||||
datanode.succeed("sudo -u hdfs hdfs dfsadmin -safemode wait")
|
||||
|
||||
# wait for HBase to start up
|
||||
master.wait_for_unit("hbase-master")
|
||||
regionserver.wait_for_unit("hbase-regionserver")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user