1 import ./make-test-python.nix (
9 name = "hbase-standalone";
11 meta = with lib.maintainers; {
12 maintainers = [ illustris ];
19 services.hbase-standalone = {
22 # Needed for standalone mode in hbase 2+
23 # This setting and standalone mode are not suitable for production
24 settings."hbase.unsafe.stream.capability.enforce" = "false";
26 environment.systemPackages = with pkgs; [
34 hbase.wait_for_unit("hbase.service")
35 hbase.wait_until_succeeds("echo \"create 't1','f1'\" | sudo -u hbase hbase shell -n")
36 assert "NAME => 'f1'" in hbase.succeed("echo \"describe 't1'\" | sudo -u hbase hbase shell -n")