Yuqi Gu created BIGTOP-3716:
-------------------------------
Summary: [Mpack] Rename the Yarn/MapReduce historyserver PID file
Key: BIGTOP-3716
URL: https://issues.apache.org/jira/browse/BIGTOP-3716
Project: Bigtop
Issue Type: Sub-task
Components: Init scripts
Affects Versions: 3.1.0
Reporter: Yuqi Gu
Assignee: Yuqi Gu
Fix For: 3.2.0
The naming rule is deprecated in Hadoop 3.x for Yarn/MapReduce historyserver
PID file.
It failed to deploy the related services:
{code:java}
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150,
in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314,
in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of
'ambari-sudo.sh -H -E test -f
/var/run/hadoop-mapreduce/mapred/mapred-mapred-historyserver.pid &&
ambari-sudo.sh -H -E pgrep -F
/var/run/hadoop-mapreduce/mapred/mapred-mapred-historyserver.pid' returned 1
{code}
{code:java}
resource_management.core.exceptions.ExecutionFailed: Execution of
'ambari-sudo.sh -H -E test -f
/var/run/hadoop-yarn/yarn/yarn-yarn-resourcemanager.pid && ambari-sudo.sh -H
-E pgrep -F /var/run/hadoop-yarn/yarn/yarn-yarn-resourcemanager.pid' returned 1
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)