Traceback (most recent call last): 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) ExecutionFailed: Execution of 'tar -xf /usr/hdp/126.96.36.199-78/hadoop/mapreduce.tar.gz -C /var/lib/ambari-agent/tmp/mapreduce-tarball-oyaFr3/' returned 2. tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors
Most possible cause of "tar: This does not look like a tar archive" error is that the archive might be corrupted or unreadable.
So can you please check and share the output of the following commands (and match it with the following output) In the node where the failure is being logged?
# md5sum /usr/hdp/188.8.131.52-78/hadoop/mapreduce.tar.gz 6362d8aff2639fefe9d56afbcefb565b /usr/hdp/184.108.40.206-78/hadoop/mapreduce.tar.gz # ls -l /usr/hdp/220.127.116.11-78/hadoop/mapreduce.tar.gz -rw-r--r--. 1 root root 308401145 Dec 6 2018 /usr/hdp/18.104.22.168-78/hadoop/mapreduce.tar.gz
If you see that the md5sum result or file size is not same on the failing node for this file then please copy it from any other cluster node and then retry.