Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

1 click installation fails in Cent OS 6.4

1 click installation fails in Cent OS 6.4

New Contributor

I am trying to install hadoop in Cent OS 6.4 through 1-Click install method. It fails with "Package does not match intended download." while trying to download and install "hadoop" which is one of the dependencies for hadoop-0.20-mapreduce-jobtracker as per the cloudera repository.

 

Below is the error log.

 

[root@LAB1 Downloads]# sudo yum install hadoop-0.20-mapreduce-jobtracker
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package hadoop-0.20-mapreduce-jobtracker.x86_64 0:2.0.0+1518-1.cdh4.5.0.p0.24.el6 will be installed
--> Processing Dependency: hadoop-0.20-mapreduce = 2.0.0+1518-1.cdh4.5.0.p0.24.el6 for package: hadoop-0.20-mapreduce-jobtracker-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
--> Running transaction check
---> Package hadoop-0.20-mapreduce.x86_64 0:2.0.0+1518-1.cdh4.5.0.p0.24.el6 will be installed
--> Processing Dependency: hadoop = 2.0.0+1518-1.cdh4.5.0.p0.24.el6 for package: hadoop-0.20-mapreduce-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
--> Processing Dependency: hadoop-hdfs = 2.0.0+1518-1.cdh4.5.0.p0.24.el6 for package: hadoop-0.20-mapreduce-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
--> Running transaction check
---> Package hadoop.x86_64 0:2.0.0+1518-1.cdh4.5.0.p0.24.el6 will be installed
--> Processing Dependency: parquet for package: hadoop-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
--> Processing Dependency: nc for package: hadoop-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
---> Package hadoop-hdfs.x86_64 0:2.0.0+1518-1.cdh4.5.0.p0.24.el6 will be installed
--> Processing Dependency: bigtop-jsvc for package: hadoop-hdfs-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64
--> Running transaction check
---> Package bigtop-jsvc.x86_64 0:1.0.10-1.cdh4.5.0.p0.23.el6 will be installed
---> Package nc.x86_64 0:1.84-22.el6 will be installed
---> Package parquet.noarch 0:1.2.5-1.cdh4.5.0.p0.17.el6 will be installed
--> Processing Dependency: parquet-format for package: parquet-1.2.5-1.cdh4.5.0.p0.17.el6.noarch
--> Running transaction check
---> Package parquet-format.noarch 0:1.0.0-1.cdh4.5.0.p0.20.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                                Arch         Version                                  Repository           Size
========================================================================================================================
Installing:
 hadoop-0.20-mapreduce-jobtracker       x86_64       2.0.0+1518-1.cdh4.5.0.p0.24.el6          cloudera-cdh4       5.0 k
Installing for dependencies:
 bigtop-jsvc                            x86_64       1.0.10-1.cdh4.5.0.p0.23.el6              cloudera-cdh4        27 k
 hadoop                                 x86_64       2.0.0+1518-1.cdh4.5.0.p0.24.el6          cloudera-cdh4        17 M
 hadoop-0.20-mapreduce                  x86_64       2.0.0+1518-1.cdh4.5.0.p0.24.el6          cloudera-cdh4        26 M
 hadoop-hdfs                            x86_64       2.0.0+1518-1.cdh4.5.0.p0.24.el6          cloudera-cdh4        12 M
 nc                                     x86_64       1.84-22.el6                              base                 57 k
 parquet                                noarch       1.2.5-1.cdh4.5.0.p0.17.el6               cloudera-cdh4        13 M
 parquet-format                         noarch       1.0.0-1.cdh4.5.0.p0.20.el6               cloudera-cdh4       489 k

Transaction Summary
========================================================================================================================
Install       8 Package(s)

Total size: 69 M
Total download size: 17 M
Installed size: 91 M
Is this ok [y/N]: y
Downloading Packages:
hadoop-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64.rpm                                                |  17 MB     00:03     
http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/RPMS/x86_64/hadoop-2.0.0%2B1518-1.cdh4.5.0.p0... [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-cdh4 clean metadata

 

Trying other mirror.

Error Downloading Packages:
  hadoop-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64: failure: RPMS/x86_64/hadoop-2.0.0+1518-1.cdh4.5.0.p0.24.el6.x86_64.rpm from cloudera-cdh4: [Errno 256] No more mirrors to try.

2 REPLIES 2

Re: 1 click installation fails in Cent OS 6.4

Expert Contributor
You using yum local repository or external cloudera repository ?
Em Jay

Re: 1 click installation fails in Cent OS 6.4

Expert Contributor
make sure you have below lines in your /etc/yum.repos.d/cloudera-cdh4
enabled=0
gpgcheck=0
Also clean your yum repository by running
yum clean all

Try it now.....
Em Jay