summary refs log tree commit diff
path: root/nixos/modules/services/cluster/hadoop
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2021-11-04 11:07:32 +0530
committerillustris <rharikrishnan95@gmail.com>2021-11-04 11:07:32 +0530
commitc8df915e0e4b19364038a03d2a5203bf4805c9ff (patch)
tree834a6b43d74a768483821d2580b25b163e678907 /nixos/modules/services/cluster/hadoop
parent0bd4b60a42a84dab321ee6ca61ff3bcf2d27e9fd (diff)
downloadnixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar.gz
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar.bz2
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar.lz
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar.xz
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.tar.zst
nixpkgs-c8df915e0e4b19364038a03d2a5203bf4805c9ff.zip
nixos/hadoop: add links for config files
Diffstat (limited to 'nixos/modules/services/cluster/hadoop')
-rw-r--r--nixos/modules/services/cluster/hadoop/default.nix30
1 files changed, 24 insertions, 6 deletions
diff --git a/nixos/modules/services/cluster/hadoop/default.nix b/nixos/modules/services/cluster/hadoop/default.nix
index e4dcfde80fb..90f22c48e05 100644
--- a/nixos/modules/services/cluster/hadoop/default.nix
+++ b/nixos/modules/services/cluster/hadoop/default.nix
@@ -15,7 +15,10 @@ with lib;
           "fs.defaultFS" = "hdfs://localhost";
         }
       '';
-      description = "Hadoop core-site.xml definition";
+      description = ''
+        Hadoop core-site.xml definition
+        <link xlink:href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/core-default.xml"/>
+      '';
     };
 
     hdfsSite = mkOption {
@@ -28,7 +31,10 @@ with lib;
           "dfs.nameservices" = "namenode1";
         }
       '';
-      description = "Hadoop hdfs-site.xml definition";
+      description = ''
+        Hadoop hdfs-site.xml definition
+        <link xlink:href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml"/>
+      '';
     };
 
     mapredSite = mkOption {
@@ -44,7 +50,10 @@ with lib;
           "mapreduce.map.java.opts" = "-Xmx900m -XX:+UseParallelGC";
         }
       '';
-      description = "Hadoop mapred-site.xml definition";
+      description = ''
+        Hadoop mapred-site.xml definition
+        <link xlink:href="https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml"/>
+      '';
     };
 
     yarnSite = mkOption {
@@ -67,7 +76,10 @@ with lib;
           "yarn.resourcemanager.hostname" = "''${config.networking.hostName}";
         }
       '';
-      description = "Hadoop yarn-site.xml definition";
+      description = ''
+        Hadoop yarn-site.xml definition
+        <link xlink:href="https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-common/yarn-default.xml"/>
+      '';
     };
 
     httpfsSite = mkOption {
@@ -78,7 +90,10 @@ with lib;
           "hadoop.http.max.threads" = 500;
         }
       '';
-      description = "Hadoop httpfs-site.xml definition";
+      description = ''
+        Hadoop httpfs-site.xml definition
+        <link xlink:href="https://hadoop.apache.org/docs/current/hadoop-hdfs-httpfs/httpfs-default.html"/>
+      '';
     };
 
     log4jProperties = mkOption {
@@ -103,7 +118,10 @@ with lib;
           "feature.terminal.enabled" = 0;
         }
       '';
-      description = "Yarn container-executor.cfg definition";
+      description = ''
+        Yarn container-executor.cfg definition
+        <link xlink:href="https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/SecureContainer.html"/>
+      '';
     };
 
     extraConfDirs = mkOption {