hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Sivachenko <trtrmi...@gmail.com>
Subject org.apache.hadoop.io.nativeio.NativeIO: Unable to initialize NativeIO libraries
Date Sun, 29 Jun 2014 06:21:37 GMT
I am trying hadoop-1.2.1 on FreeBSD-10 (installed from ports).
I see the following exception in datanode and tasktracker's log:

2014-06-29 10:13:17,105 INFO org.apache.hadoop.util.NativeCodeLoader: Loaded the native-hadoop
library
2014-06-29 10:13:17,106 ERROR org.apache.hadoop.io.nativeio.NativeIO: Unable to initialize
NativeIO libraries
java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO.initNative()V
        at org.apache.hadoop.io.nativeio.NativeIO.initNative(Native Method)
        at org.apache.hadoop.io.nativeio.NativeIO.<clinit>(NativeIO.java:89)
        at org.apache.hadoop.io.ReadaheadPool.getInstance(ReadaheadPool.java:55)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:494)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:321)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1712)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1651)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1669)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1795)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1812)
2014-06-29 10:13:17,149 INFO org.mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log)
via org.mortbay.log.Slf4jLog
2014-06-29 10:13:17,197 INFO org.apache.hadoop.http.HttpServer: Added global filtersafety
(class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)


Native library is compiled and I have proper value in command line arguments:
-Djava.library.path=/usr/local/share/hadoop/bin/../lib/native/FreeBSD-amd64-64

Despite of this exception, jobs seems to work fine.  What does this problem affect?
How can I diagnose why this happens?

Thanks in advance.
Mime
View raw message