Support Questions
Find answers, ask questions, and share your expertise

Not able to untar HDP 3.0.0 repo file

Explorer

Hi All,

Greeting for the day.

I run tar -xvzf HDP-3.0.0.0-centos7-rpm.tar.gz

then below issue occur.

HDP/centos7/3.0.0.0-1634/hive/hive_3_0_0_0_1634-hcatalog-3.1.0.3.0.0.0-1634.noarch.rpm HDP/centos7/3.0.0.0-1634/hive/hive_3_0_0_0_1634-server-3.1.0.3.0.0.0-1634.noarch.rpm gzip: stdin: invalid compressed data--crc error tar: Child returned status 1 tar: Error is not recoverable: exiting now

Thanks in Advance,

3 REPLIES 3

Explorer

use below command to untar, still getting the same issue

gunzip HDP-3.0.0.0-centos7-rpm.tar.gz

Explorer

Able to untar, i downloaded it on linux machine.

Super Mentor

@Amit Mishra

After downloading the TAR it is always better to compare the MD5Sum of the downloaded file. As the tar is bit larger hence the download might be corrupted hence we might see the mentioned errors.

For example MD5 of "HDP-3.0.0.0-centos7-rpm.tar.gz" is

HDP-3.0.0.0-centos7-rpm.tar.gz
24 76 EE 9A EB 5E AF E2  1A 61 8F 18 4C 4C 3A 0F

Following link contains the Tar links along with it's MD5 results: https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/hdp_30_repos...

The MD5Sum of the downloaded TAR also can be found in the same Doc.