guyuqi opened a new pull request, #917:
URL: https://github.com/apache/bigtop/pull/917
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'BIGTOP-3638: Your PR title ...'.
-->
### Description of PR
When delpoying Yarn service from Mpack with Hadoop-3, there are some issues
occurred:
```
ERROR: Cannot find configuration directory "/usr/lib/hadoop-yarn/conf"
Usage: mapred [OPTIONS] SUBCOMMAND [SUBCOMMAND OPTIONS] or mapred [OPTIONS]
CLASSNAME [CLASSNAME OPTIONS]
WARNING: YARN_CONF_DIR has been replaced by HADOOP_CONF_DIR. Using value of
YARN_CONF_DIR.
WARNING: YARN_LOG_DIR has been replaced by HADOOP_LOG_DIR. Using value of
YARN_LOG_DIR.
WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of
YARN_LOGFILE.
WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of
YARN_PID_DIR.
WARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of
YARN_OPTS.
WARNING: Use of this script to start the MR JobHistory daemon is deprecated.
WARNING: Attempting to execute replacement "mapred --daemon start" instead.
```
This patch is to modfify Yarn configuration directory and replace deprecated
Macro when deploying Yarn+mapReduce service by Ambari Mpack.
### How was this patch tested?
Deploy Yarn service by Mpack
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'BIGTOP-3638. Your PR title ...')?
- [ ] Make sure that newly added files do not have any licensing issues.
When in doubt refer to https://www.apache.org/licenses/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]