summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2022-02-27 10:37:35 +0530
committerillustris <rharikrishnan95@gmail.com>2022-03-11 14:18:44 +0530
commit8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea (patch)
tree5ddbd9552c3a4e44da4157b59e8934b697743a5f /nixos
parent2130653ae2b9e3e090127055cebf3ed09f2724e8 (diff)
downloadnixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar.gz
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar.bz2
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar.lz
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar.xz
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.tar.zst
nixpkgs-8aeb60f034d7581245bdcb3f26e5bc3078dfe0ea.zip
nixos/hadoop: use FairScheduler by default
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/cluster/hadoop/default.nix2
-rw-r--r--nixos/tests/hadoop/yarn.nix3
2 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/services/cluster/hadoop/default.nix b/nixos/modules/services/cluster/hadoop/default.nix
index 0adedaf1906..9968706d5a9 100644
--- a/nixos/modules/services/cluster/hadoop/default.nix
+++ b/nixos/modules/services/cluster/hadoop/default.nix
@@ -77,7 +77,7 @@ with lib;
         "yarn.nodemanager.linux-container-executor.path" = "/run/wrappers/yarn-nodemanager/bin/container-executor";
         "yarn.nodemanager.log-dirs" = "/var/log/hadoop/yarn/nodemanager";
         "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;
       example = literalExpression ''
diff --git a/nixos/tests/hadoop/yarn.nix b/nixos/tests/hadoop/yarn.nix
index c121f6556d5..ba39e257dc8 100644
--- a/nixos/tests/hadoop/yarn.nix
+++ b/nixos/tests/hadoop/yarn.nix
@@ -10,9 +10,6 @@ import ../make-test-python.nix ({ package, ... }: {
           enable = true;
           openFirewall = true;
         };
-        yarnSite = {
-          "yarn.resourcemanager.scheduler.class" = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler";
-        };
       };
     };
     nodemanager = { ... }: {