You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/11/21 23:43:45 UTC

[jira] [Created] (HADOOP-7850) hadoop rpm does not create the appropriate link for the native files

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

        

[jira] [Updated] (HADOOP-7850) hadoop rpm does not create the appropriate link for the native files

Posted by "Matt Foley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-7850:
-------------------------------

    Target Version/s: 1.1.0  (was: 1.0.0)
    
> 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