diff options
author | illustris <rharikrishnan95@gmail.com> | 2023-03-02 15:03:10 +0530 |
---|---|---|
committer | illustris <rharikrishnan95@gmail.com> | 2023-03-02 15:03:10 +0530 |
commit | 653d1f053463b85525e02afb7ee91b4b26d966e1 (patch) | |
tree | ba29c0a7079f14adcc6ffa515575d1081460b13a /nixos/modules/services/cluster | |
parent | 1035e52191efcc629ff676d1d8db20879b4ce629 (diff) |
nixos/hbase: add examples for options
Diffstat (limited to 'nixos/modules/services/cluster')
-rw-r--r-- | nixos/modules/services/cluster/hadoop/hbase.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix index 51f11817bacf..a39da2a84eca 100644 --- a/nixos/modules/services/cluster/hadoop/hbase.nix +++ b/nixos/modules/services/cluster/hadoop/hbase.nix @@ -24,12 +24,18 @@ let extraFlags = mkOption { type = with types; listOf str; default = []; + example = literalExpression ''[ "--backup" ]''; description = mdDoc "Extra flags for the ${name} service."; }; environment = mkOption { type = with types; attrsOf str; default = {}; + example = literalExpression '' + { + HBASE_MASTER_OPTS = "-Dcom.sun.management.jmxremote.ssl=true"; + } + ''; description = mdDoc "Environment variables passed to ${name}."; }; } // extraOpts; @@ -107,6 +113,10 @@ in default = {}; type = with types; attrsOf anything; example = literalExpression '' + { + "hbase.hregion.max.filesize" = 20*1024*1024*1024; + "hbase.table.normalization.enabled" = "true"; + } ''; description = mdDoc '' Additional options and overrides for hbase-site.xml |