summary refs log tree commit diff
path: root/nixos/modules/services/cluster
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2021-11-04 11:15:21 +0530
committerillustris <rharikrishnan95@gmail.com>2021-11-04 11:18:11 +0530
commit8331b56701d6df0140345e17a8ae4ac8240f33f9 (patch)
tree5d07a908902baeceaec15e1571c3cc909f0891ff /nixos/modules/services/cluster
parentc8df915e0e4b19364038a03d2a5203bf4805c9ff (diff)
downloadnixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar.gz
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar.bz2
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar.lz
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar.xz
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.tar.zst
nixpkgs-8331b56701d6df0140345e17a8ae4ac8240f33f9.zip
nixos/hadoop: correct openFirewall options
Diffstat (limited to 'nixos/modules/services/cluster')
-rw-r--r--nixos/modules/services/cluster/hadoop/hdfs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/cluster/hadoop/hdfs.nix b/nixos/modules/services/cluster/hadoop/hdfs.nix
index 52f951a6c5f..2b8c29b04f8 100644
--- a/nixos/modules/services/cluster/hadoop/hdfs.nix
+++ b/nixos/modules/services/cluster/hadoop/hdfs.nix
@@ -134,7 +134,7 @@ in
         };
       };
 
-      networking.firewall.allowedTCPPorts = (mkIf cfg.hdfs.datanode.openFirewall [
+      networking.firewall.allowedTCPPorts = (mkIf cfg.hdfs.journalnode.openFirewall [
         8480 # dfs.journalnode.http-address
         8485 # dfs.journalnode.rpc-address
       ]);
@@ -174,7 +174,7 @@ in
           Restart = "always";
         };
       };
-      networking.firewall.allowedTCPPorts = (mkIf cfg.hdfs.datanode.openFirewall [
+      networking.firewall.allowedTCPPorts = (mkIf cfg.hdfs.httpfs.openFirewall [
         14000 # httpfs.http.port
       ]);
     })