summary refs log tree commit diff
path: root/nixos/modules/services/databases/hbase.nix
diff options
context:
space:
mode:
authorVanilla <osu_Vanilla@126.com>2021-11-16 22:15:46 +0800
committerVanilla <osu_Vanilla@126.com>2021-11-16 22:15:46 +0800
commit79dc6a56292eb20676a07980528969ffcffcf340 (patch)
treecb1f5f553a50fe55f36def9e65d3590ac829aa19 /nixos/modules/services/databases/hbase.nix
parent1b2a061c87fd079f57a05c5390a42dcc777498f0 (diff)
downloadnixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar.gz
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar.bz2
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar.lz
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar.xz
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.tar.zst
nixpkgs-79dc6a56292eb20676a07980528969ffcffcf340.zip
nixos/hbase: use jre8 instead of latest.
Diffstat (limited to 'nixos/modules/services/databases/hbase.nix')
-rw-r--r--nixos/modules/services/databases/hbase.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/hbase.nix b/nixos/modules/services/databases/hbase.nix
index 9132b7ed356..ff01a1bcd98 100644
--- a/nixos/modules/services/databases/hbase.nix
+++ b/nixos/modules/services/databases/hbase.nix
@@ -103,7 +103,8 @@ in {
       wantedBy = [ "multi-user.target" ];
 
       environment = {
-        JAVA_HOME = "${pkgs.jre}";
+        # JRE 15 removed option `UseConcMarkSweepGC` which is needed.
+        JAVA_HOME = "${pkgs.jre8}";
         HBASE_LOG_DIR = cfg.logDir;
       };