mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/hadoop: fix mkenableoption text
This commit is contained in:
parent
e3a73aed43
commit
6efa931c51
2 changed files with 7 additions and 7 deletions
|
@ -17,7 +17,7 @@ in
|
||||||
{
|
{
|
||||||
options.services.hadoop.hdfs = {
|
options.services.hadoop.hdfs = {
|
||||||
namenode = {
|
namenode = {
|
||||||
enable = mkEnableOption "Whether to run the HDFS NameNode";
|
enable = mkEnableOption "HDFS NameNode";
|
||||||
formatOnInit = mkOption {
|
formatOnInit = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
@ -37,7 +37,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
datanode = {
|
datanode = {
|
||||||
enable = mkEnableOption "Whether to run the HDFS DataNode";
|
enable = mkEnableOption "HDFS DataNode";
|
||||||
inherit restartIfChanged;
|
inherit restartIfChanged;
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -48,7 +48,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
journalnode = {
|
journalnode = {
|
||||||
enable = mkEnableOption "Whether to run the HDFS JournalNode";
|
enable = mkEnableOption "HDFS JournalNode";
|
||||||
inherit restartIfChanged;
|
inherit restartIfChanged;
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -59,11 +59,11 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
zkfc = {
|
zkfc = {
|
||||||
enable = mkEnableOption "Whether to run the HDFS ZooKeeper failover controller";
|
enable = mkEnableOption "HDFS ZooKeeper failover controller";
|
||||||
inherit restartIfChanged;
|
inherit restartIfChanged;
|
||||||
};
|
};
|
||||||
httpfs = {
|
httpfs = {
|
||||||
enable = mkEnableOption "Whether to run the HDFS HTTPfs server";
|
enable = mkEnableOption "HDFS HTTPfs server";
|
||||||
tempPath = mkOption {
|
tempPath = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/tmp/hadoop/httpfs";
|
default = "/tmp/hadoop/httpfs";
|
||||||
|
|
|
@ -17,7 +17,7 @@ in
|
||||||
{
|
{
|
||||||
options.services.hadoop.yarn = {
|
options.services.hadoop.yarn = {
|
||||||
resourcemanager = {
|
resourcemanager = {
|
||||||
enable = mkEnableOption "Whether to run the Hadoop YARN ResourceManager";
|
enable = mkEnableOption "Hadoop YARN ResourceManager";
|
||||||
inherit restartIfChanged;
|
inherit restartIfChanged;
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -28,7 +28,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nodemanager = {
|
nodemanager = {
|
||||||
enable = mkEnableOption "Whether to run the Hadoop YARN NodeManager";
|
enable = mkEnableOption "Hadoop YARN NodeManager";
|
||||||
inherit restartIfChanged;
|
inherit restartIfChanged;
|
||||||
addBinBash = mkOption {
|
addBinBash = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue