From 6efa931c518e8fdc725527e465bceb0b8fb60a4a Mon Sep 17 00:00:00 2001 From: illustris Date: Sat, 8 Jan 2022 12:48:23 +0530 Subject: [PATCH] nixos/hadoop: fix mkenableoption text --- nixos/modules/services/cluster/hadoop/hdfs.nix | 10 +++++----- nixos/modules/services/cluster/hadoop/yarn.nix | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/cluster/hadoop/hdfs.nix b/nixos/modules/services/cluster/hadoop/hdfs.nix index be667aa82d8a..8c373968364f 100644 --- a/nixos/modules/services/cluster/hadoop/hdfs.nix +++ b/nixos/modules/services/cluster/hadoop/hdfs.nix @@ -17,7 +17,7 @@ in { options.services.hadoop.hdfs = { namenode = { - enable = mkEnableOption "Whether to run the HDFS NameNode"; + enable = mkEnableOption "HDFS NameNode"; formatOnInit = mkOption { type = types.bool; default = false; @@ -37,7 +37,7 @@ in }; }; datanode = { - enable = mkEnableOption "Whether to run the HDFS DataNode"; + enable = mkEnableOption "HDFS DataNode"; inherit restartIfChanged; openFirewall = mkOption { type = types.bool; @@ -48,7 +48,7 @@ in }; }; journalnode = { - enable = mkEnableOption "Whether to run the HDFS JournalNode"; + enable = mkEnableOption "HDFS JournalNode"; inherit restartIfChanged; openFirewall = mkOption { type = types.bool; @@ -59,11 +59,11 @@ in }; }; zkfc = { - enable = mkEnableOption "Whether to run the HDFS ZooKeeper failover controller"; + enable = mkEnableOption "HDFS ZooKeeper failover controller"; inherit restartIfChanged; }; httpfs = { - enable = mkEnableOption "Whether to run the HDFS HTTPfs server"; + enable = mkEnableOption "HDFS HTTPfs server"; tempPath = mkOption { type = types.path; default = "/tmp/hadoop/httpfs"; diff --git a/nixos/modules/services/cluster/hadoop/yarn.nix b/nixos/modules/services/cluster/hadoop/yarn.nix index 37c26ea10f76..cc42d8f388a1 100644 --- a/nixos/modules/services/cluster/hadoop/yarn.nix +++ b/nixos/modules/services/cluster/hadoop/yarn.nix @@ -17,7 +17,7 @@ in { options.services.hadoop.yarn = { resourcemanager = { - enable = mkEnableOption "Whether to run the Hadoop YARN ResourceManager"; + enable = mkEnableOption "Hadoop YARN ResourceManager"; inherit restartIfChanged; openFirewall = mkOption { type = types.bool; @@ -28,7 +28,7 @@ in }; }; nodemanager = { - enable = mkEnableOption "Whether to run the Hadoop YARN NodeManager"; + enable = mkEnableOption "Hadoop YARN NodeManager"; inherit restartIfChanged; addBinBash = mkOption { type = types.bool;