hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7850) hadoop rpm does not create the appropriate link for the native files
Date Mon, 21 Nov 2011 22:43:45 GMT
hadoop rpm does not create the appropriate link for the native files
--------------------------------------------------------------------

                 Key: HADOOP-7850
                 URL: https://issues.apache.org/jira/browse/HADOOP-7850
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.20.205.0
            Reporter: Arpit Gupta
            Assignee: Giridharan Kesavan


hadoop rpm installs the following files

/usr/lib/libhadoop.so
/usr/lib/libhadoop.so.1.0.0

>From the size it looks like the libhadoop.so.1.0.0 points to the 64 bit native files
ls -latr /usr/lib/libhadoop.so.1.0.0 /usr/lib/native/Linux-amd64-64/libhadoop.so
-rw-r--r-- 1 root root 177483 Oct  7 06:22 /usr/lib/native/Linux-amd64-64/libhadoop.so
-rw-r--r-- 1 root root 177483 Oct  7 06:25 /usr/lib/libhadoop.so.1.0.0


And the libhadoop.so file points to the 32 bit version
ls -latr /usr/lib/libhadoop.so /usr/lib/native/Linux-i386-32/libhadoop.so
-rw-r--r-- 1 root root 160438 Oct  7 06:20 /usr/lib/native/Linux-i386-32/libhadoop.so
-rw-r--r-- 1 root root 160438 Oct  7 06:20 /usr/lib/libhadoop.so

This causes the 64bit tasktracker to not load the native libraries unless the libhadoop.so
file is linked to the libhadoop.so.1.0.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message