Merge pull request #111153 from helsinki-systems/hadoop

nixos/hadoop: add types
This commit is contained in:
Sandro
2021-02-02 14:14:41 +01:00
committed by GitHub

View File

@@ -7,6 +7,7 @@ with lib;
options.services.hadoop = {
coreSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"fs.defaultFS" = "hdfs://localhost";
@@ -17,6 +18,7 @@ with lib;
hdfsSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"dfs.nameservices" = "namenode1";
@@ -27,6 +29,7 @@ with lib;
mapredSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"mapreduce.map.cpu.vcores" = "1";
@@ -37,6 +40,7 @@ with lib;
yarnSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"yarn.resourcemanager.ha.id" = "resourcemanager1";