nixos/hadoop: use FairScheduler by default

This commit is contained in:
illustris 2022-02-27 10:37:35 +05:30
parent 2130653ae2
commit 8aeb60f034
2 changed files with 1 additions and 4 deletions

View file

@ -77,7 +77,7 @@ with lib;
"yarn.nodemanager.linux-container-executor.path" = "/run/wrappers/yarn-nodemanager/bin/container-executor"; "yarn.nodemanager.linux-container-executor.path" = "/run/wrappers/yarn-nodemanager/bin/container-executor";
"yarn.nodemanager.log-dirs" = "/var/log/hadoop/yarn/nodemanager"; "yarn.nodemanager.log-dirs" = "/var/log/hadoop/yarn/nodemanager";
"yarn.resourcemanager.bind-host" = "0.0.0.0"; "yarn.resourcemanager.bind-host" = "0.0.0.0";
"yarn.resourcemanager.scheduler.class" = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler"; "yarn.resourcemanager.scheduler.class" = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler";
}; };
type = types.attrsOf types.anything; type = types.attrsOf types.anything;
example = literalExpression '' example = literalExpression ''

View file

@ -10,9 +10,6 @@ import ../make-test-python.nix ({ package, ... }: {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
}; };
yarnSite = {
"yarn.resourcemanager.scheduler.class" = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler";
};
}; };
}; };
nodemanager = { ... }: { nodemanager = { ... }: {