Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14911

hdfs oiv "Delimited" processer failing with java.lang.UnsatisfiedLinkError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: hdfs, namenode
    • Labels:
      None

      Description

      The hdfs oiv "Delimited" processer is failing as follows:

      root@hostname [/dirname] $ hdfs oiv --inputFile /dirname/user1/fsimage_0000000012908988825 --temp /dirname/user1 --outputFile /dirname/user1/fsimage.dsv --processor Delimited -delimiter "|"
       Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /tmp/libleveldbjni-64-1-1996775695699915007.8: /tmp/libleveldbjni-64-1-1996775695699915007.8: failed to map segment from shared object: Operation not permitted]
       at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
       at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
       at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageTextWriter$LevelDBMetadataMap$LevelDBStore.<init>(PBImageTextWriter.java:235)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageTextWriter$LevelDBMetadataMap.<init>(PBImageTextWriter.java:306)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageTextWriter.<init>(PBImageTextWriter.java:409)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.PBImageDelimitedTextWriter.<init>(PBImageDelimitedTextWriter.java:56)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewerPB.run(OfflineImageViewerPB.java:210)
       at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewerPB.main(OfflineImageViewerPB.java:138)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bbapache bb
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: