Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7850

hadoop rpm does not create the appropriate link for the native files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.20.205.0
    • None
    • None
    • None

    Description

      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-rr- 1 root root 177483 Oct 7 06:22 /usr/lib/native/Linux-amd64-64/libhadoop.so
      rw-rr- 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-rr- 1 root root 160438 Oct 7 06:20 /usr/lib/native/Linux-i386-32/libhadoop.so
      rw-rr- 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

      Attachments

        Activity

          People

            gkesavan Giridharan Kesavan
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: