Support Questions

Find answers, ask questions, and share your expertise

After enabling HDFS HA mode, I am getting the following error restarting history server

New Contributor
Traceback (most recent call last):
  File "/usr/lib/ambari-agent/lib/resource_management/core/", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
ExecutionFailed: Execution of 'tar -xf /usr/hdp/ -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

Super Mentor

@Pawan Patil

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/
6362d8aff2639fefe9d56afbcefb565b  /usr/hdp/

# ls -l /usr/hdp/
-rw-r--r--. 1 root root 308401145 Dec  6  2018 /usr/hdp/

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.


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.