-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
882 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
...erver/src/main/resources/stacks/bigtop/3.3.0/services/mapred/configuration/mapred-env.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one | ||
~ or more contributor license agreements. See the NOTICE file | ||
~ distributed with this work for additional information | ||
~ regarding copyright ownership. The ASF licenses this file | ||
~ to you under the Apache License, Version 2.0 (the | ||
~ "License"); you may not use this file except in compliance | ||
~ with the License. You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, | ||
~ software distributed under the License is distributed on an | ||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
~ KIND, either express or implied. See the License for the | ||
~ specific language governing permissions and limitations | ||
~ under the License. | ||
--> | ||
|
||
<configuration> | ||
<property> | ||
<name>mapred_log_dir_prefix</name> | ||
<value>/var/log/hadoop-mapreduce</value> | ||
<display-name>Mapreduce Log Dir Prefix</display-name> | ||
<description>Mapreduce Log Dir Prefix</description> | ||
</property> | ||
<property> | ||
<name>mapred_pid_dir_prefix</name> | ||
<value>/var/run/hadoop-mapreduce</value> | ||
<display-name>Mapreduce PID Dir Prefix</display-name> | ||
<description>Mapreduce PID Dir Prefix</description> | ||
</property> | ||
<property> | ||
<name>jobhistory_heapsize</name> | ||
<display-name>History Server heap size</display-name> | ||
<value>1024</value> | ||
<description>Value for JobHistoryServer heap_size variable in hadoop-env.sh</description> | ||
</property> | ||
<property> | ||
<name>mapred_user_nofile_limit</name> | ||
<value>32768</value> | ||
<description>Max open files limit setting for MAPREDUCE user.</description> | ||
</property> | ||
<property> | ||
<name>mapred_user_nproc_limit</name> | ||
<value>65536</value> | ||
<description>Max number of processes limit setting for MAPREDUCE user.</description> | ||
</property> | ||
<property> | ||
<name>content</name> | ||
<display-name>mapred-env template</display-name> | ||
<description>This is the freemarker template for mapred-env.sh file</description> | ||
<value><![CDATA[ | ||
export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=${jobhistory_heapsize!} | ||
export HADOOP_ROOT_LOGGER=INFO,RFA | ||
export HADOOP_HOME=${hadoop_home} | ||
export HADOOP_YARN_HOME=${hadoop_yarn_home} | ||
export HADOOP_MAPRED_HOME=${hadoop_mapred_home} | ||
# Could be enabled from deployment option if necessary | ||
export HADOOP_LOG_DIR=${mapred_log_dir_prefix!}/$USER | ||
export HADOOP_PID_DIR=${mapred_pid_dir_prefix!}/$USER | ||
export MAPRED_HISTORYSERVER_OPTS="$MAPRED_HISTORYSERVER_OPTS -Dhadoop.log.dir=$HADOOP_LOG_DIR" | ||
export HADOOP_LIBEXEC_DIR=${hadoop_libexec_dir} | ||
export HADOOP_OPTS="$HADOOP_OPTS --add-opens java.base/java.lang=ALL-UNNAMED" | ||
export JAVA_HOME=${java_home} | ||
]]> | ||
</value> | ||
<attrs> | ||
<type>longtext</type> | ||
</attrs> | ||
</property> | ||
</configuration> |
Oops, something went wrong.