mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixosTests.hadoop.hbase: fix race condition
This commit is contained in:
parent
99384545e6
commit
6709f7cea3
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue