Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS, mail # user - Re: Apache Hadoop 1.1.2 rpm installation issue


+
Matthew Farrellee 2013-07-25, 14:25
Copy link to this message
-
Re: Apache Hadoop 1.1.2 rpm installation issue
Stevo Slavić 2013-07-26, 10:09
Thanks Matt,

I've created a ticket in JIRA for this:
https://issues.apache.org/jira/browse/HADOOP-9777

Kind regards,
Stevo Slavic.
On Thu, Jul 25, 2013 at 4:25 PM, Matthew Farrellee <[EMAIL PROTECTED]> wrote:

> On 07/14/2013 01:58 PM, Stevo Slavić wrote:
>
>> Hello Apache Hadoop community,
>>
>> I've just tried to install latest stable Apache Hadoop rpm (
>> hadoop-1.1.2-1.x86_64.rpm ) on Fedora 19 and it fails with:
>>
>> [root@laptop hadoop]# rpm -i
>> /home/sslavic/Downloads/**hadoop-1.1.2-1.x86_64.rpm
>> file /usr/bin from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>> file /usr/lib from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>> file /usr/lib64 from install of hadoop-1.1.2-1.x86_64 conflicts with
>> file from package filesystem-3.2-12.fc19.x86_64
>> file /usr/sbin from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>>
>> Same issue occurs if I try to install as non-root user:
>>
>> [sslavic@laptop ~]$ sudo rpm -i Downloads/hadoop-1.1.2-1.x86_**64.rpm
>> file /usr/bin from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>> file /usr/lib from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>> file /usr/lib64 from install of hadoop-1.1.2-1.x86_64 conflicts with
>> file from package filesystem-3.2-12.fc19.x86_64
>> file /usr/sbin from install of hadoop-1.1.2-1.x86_64 conflicts with file
>> from package filesystem-3.2-12.fc19.x86_64
>>
>>
>> It seems these 4 directories in hadoop rpm have wrong permissions (+w
>> for owner).
>> When I unpack hadoop rpm I get that e.g. ./usr/bin directory has
>>
>> drwxr-xr-x  2 sslavic sslavic 4096 Jul 14 19:21 bin
>>
>> while system's /usr/bin has:
>> dr-xr-xr-x.   2 root root  73728 Jul 14 17:37 bin
>>
>> Can anyone else confirm this is bug in RPM, or am I doing something wrong?
>>
>> Kind regards,
>> Stevo Slavic.
>>
>
>
> FYI, a similar problem existed in the Ambari RPMs.
>
> https://issues.apache.org/**jira/browse/AMBARI-1870<https://issues.apache.org/jira/browse/AMBARI-1870>
>
> It looks like the hadoop.spec needs some attention to make sure the
> resulting RPM does not claim ownership of paths reasonably owned by the
> platform itself, in this case filesystem.
>
> Best,
>
>
> matt
>