diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix index 43b8ff79168d..1d63530406c2 100644 --- a/nixos/modules/services/cluster/hadoop/hbase.nix +++ b/nixos/modules/services/cluster/hadoop/hbase.nix @@ -57,7 +57,9 @@ let systemd.services."hbase-${lib.toLower name}" = { description = "HBase ${name}"; wantedBy = [ "multi-user.target" ]; - path = with cfg; [ hbase.package ] ++ optional (with cfg.hbase.master; enable && initHDFS) package; + path = + with cfg; + [ hbase.package ] ++ lib.optional (with cfg.hbase.master; enable && initHDFS) package; preStart = lib.mkIf (with cfg.hbase.master; enable && initHDFS) ( lib.concatStringsSep "\n" ( map (x: "HADOOP_USER_NAME=hdfs hdfs --config /etc/hadoop-conf ${x}") [ diff --git a/pkgs/servers/hbase/default.nix b/pkgs/servers/hbase/default.nix index be4396a2d56b..5d924252d1e9 100644 --- a/pkgs/servers/hbase/default.nix +++ b/pkgs/servers/hbase/default.nix @@ -51,13 +51,13 @@ in tests.standalone = nixosTests.hbase_2_4; }; hbase_2_5 = common { - version = "2.5.9"; - hash = "sha256-rJGeJ9zmUn28q1Sfk5cdEdEZxbAnvFjRjdcTCx9x1Qc="; + version = "2.5.10"; + hash = "sha256-uYc5IZGQdLOm5gAEyyGtJtcgf+GxADEEuxjixZbG3Qs="; tests.standalone = nixosTests.hbase_2_5; }; hbase_2_6 = common { - version = "2.6.0"; - hash = "sha256-zjQ5HgUCiHmrMQuyMN4IAuLR0fVrJ+YKDUfPQb05Dp4="; + version = "2.6.1"; + hash = "sha256-dubu/4Ilk82NtNEcKt8uLbcH8n81EncxOvkZOwk2kVA="; tests.standalone = nixosTests.hbase2; }; hbase_3_0 = common {