Skip to main content
Sign in
Snippets Groups Projects
Commit c266172e authored by František Dvořák's avatar František Dvořák
Browse files

Hadoop: better workaround of virtual memory limit for spark-shell

parent 57437b8f
Branches
No related tags found
No related merge requests found
......@@ -77,7 +77,8 @@ class{'hadoop':
#'hadoop.proxyuser.hive.groups' => "*",
'hadoop.proxyuser.hive.hosts' => "*",
'yarn.app.mapreduce.am.env' => 'LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native:$$LD_LIBRARY_PATH',
'yarn.nodemanager.vmem-check-enabled' => 'false',
# increase virtual memory limit for Spark
'yarn.nodemanager.vmem-pmem-ratio' => 5,
},
version => $$hadoop_version,
hdfs_deployed => $$hdfs_deployed,
......
......
......@@ -101,7 +101,8 @@ class{'hadoop':
#'hadoop.proxyuser.hive.groups' => "*",
'hadoop.proxyuser.hive.hosts' => "*",
'yarn.app.mapreduce.am.env' => 'LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native:$$LD_LIBRARY_PATH',
'yarn.nodemanager.vmem-check-enabled' => 'false',
# increase virtual memory limit for Spark
'yarn.nodemanager.vmem-pmem-ratio' => 5,
},
version => $$hadoop_version,
hdfs_deployed => $$hdfs_deployed,
......
......
......@@ -99,7 +99,8 @@ class{'hadoop':
#'hadoop.proxyuser.hive.groups' => "*",
'hadoop.proxyuser.hive.hosts' => "*",
'yarn.app.mapreduce.am.env' => 'LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native:$$LD_LIBRARY_PATH',
'yarn.nodemanager.vmem-check-enabled' => 'false',
# increase virtual memory limit for Spark
'yarn.nodemanager.vmem-pmem-ratio' => 5,
},
version => $$hadoop_version,
hdfs_deployed => $$hdfs_deployed,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment