Problem installing HBase from cloudera-contrib repo
Hi,
I followed the instructions in setting up a Fedora m1.small instance on ec2, and was successful in getting it launched using the cloudera ec2 tools. Using the tool, I was also successful in having it preinstall hadoop-0.20-0.20.1+133-1 rpm.
Once the box was launched, I tried to install the hbase packages as outlined in http://www.cloudera.com/blog/2009/09/... - but there seems to be a conflict between hbase-0.20 and hbase-0.20-native. The specific error I got was:
The full transcript follows. Any suggestions appreciated.
Cormac Twomey
eHarmony.com
I followed the instructions in setting up a Fedora m1.small instance on ec2, and was successful in getting it launched using the cloudera ec2 tools. Using the tool, I was also successful in having it preinstall hadoop-0.20-0.20.1+133-1 rpm.
Once the box was launched, I tried to install the hbase packages as outlined in http://www.cloudera.com/blog/2009/09/... - but there seems to be a conflict between hbase-0.20 and hbase-0.20-native. The specific error I got was:
file /usr/lib/hbase-0.20/lib/native/Linux-i386-32/libhadoop.a conflicts
between attempted installs of hbase-0.20-0.20.0~1-1.cloudera.noarch
and hbase-0.20-native-0.20.0~1-1.cloudera.i386
The full transcript follows. Any suggestions appreciated.
Cormac Twomey
eHarmony.com
[root@ip-xx-xx-xx-xx ~]# yum install hbase-0.20 hbase-0.20-native
Loaded plugins: allowdowngrade, fastestmirror
Loading mirror speeds from cached hostfile
* updates-newkey: kdeforge.unl.edu
* fedora: kdeforge.unl.edu
* updates: kdeforge.unl.edu
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package hbase-0.20-native.i386 0:0.20.0~1-1.cloudera set to be updated
---> Package hbase-0.20.noarch 0:0.20.0~1-1.cloudera set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
hbase-0.20 noarch 0.20.0~1-1.cloudera cloudera-contrib 23 M
hbase-0.20-native i386 0.20.0~1-1.cloudera cloudera-contrib 133 k
Transaction Summary
========================================================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total size: 23 M
Is this ok [y/N]: y
Downloading Packages:
==================================================
Entering rpm code
===================================================
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/lib/hbase-0.20/lib/native/Linux-amd64-64/libhadoop.a conflicts between attempted installs of hbase-0.20-0.20.0~1-1.cloudera.noarch and hbase-0.20-native-0.20.0~1-1.cloudera.i386
file /usr/lib/hbase-0.20/lib/native/Linux-i386-32/libhadoop.a conflicts between attempted installs of hbase-0.20-0.20.0~1-1.cloudera.noarch and hbase-0.20-native-0.20.0~1-1.cloudera.i386
Error Summary
-------------
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?It looks like the hbase-native package overlaps with the base package. This is a packaging error. We will notify the HBase team (it's a "contrib" package) and work with them to get a fix into the next release cycle.
For now, since the HBase package apparently includes the native libraries, the solution is to simply not install the hbase-native package.
Cheers
Chad
Loading Profile...


