Kengo Seki created BIGTOP-3418:
----------------------------------
Summary: Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10
Key: BIGTOP-3418
URL: https://issues.apache.org/jira/browse/BIGTOP-3418
Project: Bigtop
Issue Type: Bug
Reporter: Kengo Seki
Assignee: Kengo Seki
Deploying Ambari fails on CentOS 8 and Fedora 31 due to the lack of diffutils:
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/169/COMPONENTS=ambari.bigtop-utils@ambari,OS=centos-8-x86_64-deploy/console
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/169/COMPONENTS=ambari.bigtop-utils@ambari,OS=fedora-31-aarch64-deploy/console
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/169/COMPONENTS=ambari.bigtop-utils@ambari,OS=fedora-31-x86_64-deploy/console
{code}
Sep 25 03:43:54 ee06f4cdb722 systemd[1]: Starting LSB: ambari-agent daemon...
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]: Verifying Python version
compatibility...
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]: Using python /usr/bin/python2
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]: Checking for previously
running Ambari Agent...
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]: Checking ambari-common dir...
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]:
/var/lib/ambari-agent/bin/ambari-agent: line 174: diff: command not found
Sep 25 03:43:54 ee06f4cdb722 ambari-agent[1930]: ERROR: ambari_commons folder
mismatch. /usr/lib/python2.6/site-packages/ambari_commons content should be the
same as /usr/lib/ambari-agent/lib/ambari_commons. Either ambari-agent is
co-hosted with ambari-server and agent was upgraded without server or the link
was broken.
Sep 25 03:43:54 ee06f4cdb722 systemd[1]: ambari-agent.service: Control process
exited, code=exited status=255
{code}
And on Debian 10 when resolving java path:
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/169/COMPONENTS=ambari.bigtop-utils@ambari,OS=debian-10-amd64-deploy/console
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/169/COMPONENTS=ambari.bigtop-utils@ambari,OS=debian-10-arm64-deploy/console
{code}
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: Checking JDK...
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: ERROR: Exiting
with exit code 1.
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: REASON:
Downloading or installing JDK failed: 'Fatal exception: Path to java home
/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/bin/java or java binary file does not
exists, exit code 1'. Exiting.
Error: '/usr/sbin/ambari-server setup -j $(readlink -f /usr/bin/java | sed
's@jre/bin/java@@') -s' returned 1 instead of one of [0]
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)