I see,
The apache RPM distro does include the libhdfs* binaries. (And it is
self-contained)
For the Apache Distro (once installed) Yum,zipper,KPack* only knows about
hadoop-1.0.1-1.amd* as the provider for the libhdfs
(check with rpm -qlp hadoop<version>.rpm -- this will give you all of the
files it has/installs or yum deplist <package>)
So the package that you are trying to install, which is failing the
dependency, has a requirement for
something name "hadoop" (per your e-mail) as a package that contains the
libhdfs. (This is not what hadoop-1.0.1-1 claims)
To solve this: The brute's way
Force the install of the rpm without dependencies.
rpm -i --nodeps <the-package>.rpm
Another way.
Match up all your RPM package dependencies from the vendor(s)
1) Talk to the <the-package>.rpm provider, to see if they have the proper
packaging for the apache RPM distro.
2) Use or find a hadoop distro from [a] vendor that has all the proper
"package" naming resolution.
Good luck
-----Original Message-----
From: Pastrana, Rodrigo (RIS-BCT) [mailto:[email protected]]
Sent: Tuesday, September 25, 2012 5:58 AM
To: [email protected]
Subject: RE: libhdfs install dep
Leo, yes I'm working with hadoop-1.0.1-1.amd64.rpm from Apache's download site.
The rpm installs libhdfs in /usr/lib64 so I'm not sure why I would need the
hadoop-<*>libhdfs* rpm.
Any idea why the installed /usr/lib64/libhdfs.so is not detected by the package
managers?
Thanks, Rodrigo.
-----Original Message-----
From: Leo Leung [mailto:[email protected]]
Sent: Tuesday, September 25, 2012 2:11 AM
To: [email protected]
Subject: RE: libhdfs install dep
Rodrigo,
Assuming you are asking for hadoop 1.x
You are missing the hadoop-<*>libhdfs* rpm.
Build it or get it from the vendor you got your hadoop from.
-----Original Message-----
From: Pastrana, Rodrigo (RIS-BCT) [mailto:[email protected]]
Sent: Monday, September 24, 2012 8:20 PM
To: '[email protected]'
Subject: libhdfs install dep
Anybody know why libhdfs.so is not found by package managers on CentOS 64 and
OpenSuse64?
I hava an rpm which declares Hadoop as a dependacy, but the package managers
(KPackageKit, zypper, etc) report libhdfs.so as a missing dependency eventhough
Hadoop has been installed via rpm package, and libhdfs.so is installed as well.
Thanks, Rodrigo.
-----------------------------------------
The information contained in this e-mail message is intended only for the
personal and confidential use of the recipient(s) named above. This message may
be an attorney-client communication and/or work product and as such is
privileged and confidential. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended recipient,
you are hereby notified that you have received this document in error and that
any review, dissemination, distribution, or copying of this message is strictly
prohibited. If you have received this communication in error, please notify us
immediately by e-mail, and delete the original message.