You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by John Lilley <jo...@redpoint.net> on 2014/10/16 21:05:54 UTC

JNI native-method warning in HDP 2.0

We are seeing a warning deep in HDFS code, I was wondering if anyone knows of this or if a JIRA has been filed or fixed?  Searching on the warning text didn't crop up anything.  It is not harmful AFAIK.
John

[Dynamic-linking native method java.net.NetworkInterface.init ... JNI]
WARNING in native method: JNI FindClass received a bad class descriptor "Ljava/net/InetAddress;".  A correct class descriptor has
no leading "L" or trailing ";".  Incorrect descriptors will not be accepted in future releases.
        at java.net.NetworkInterface.init(Native Method)
        at java.net.NetworkInterface.<clinit>(Unknown Source)
        at org.apache.hadoop.net.NetUtils.isLocalAddress(NetUtils.java:689)
        at org.apache.hadoop.hdfs.DFSClient.isLocalAddress(DFSClient.java:896)
        at org.apache.hadoop.hdfs.RemoteBlockReader2.<init>(RemoteBlockReader2.java:265)
        at org.apache.hadoop.hdfs.RemoteBlockReader2.newBlockReader(RemoteBlockReader2.java:411)
        at org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactory.java:131)
        at org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:1108)
        at org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:533)
        - locked <0x00000000fe9522f0> (a org.apache.hadoop.hdfs.DFSInputStream)
        at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:749)
        at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:793)
        - locked <0x00000000fe9522f0> (a org.apache.hadoop.hdfs.DFSInputStream)
        at java.io.DataInputStream.readFully(Unknown Source)
        at java.io.DataInputStream.readLong(Unknown Source)
        at org.apache.hadoop.io.file.tfile.BCFile$Reader.<init>(BCFile.java:626)
        at org.apache.hadoop.io.file.tfile.TFile$Reader.<init>(TFile.java:804)
        at org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogReader.<init>(AggregatedLogFormat.java:323)
        at net.redpoint.yarnapp.Client.writeAggregatedLogs(Client.java:1360)
        at net.redpoint.yarnapp.Client.writeAggregatedLogs(Client.java:1293)
        at net.redpoint.yarnapp.ClientTest.runTest(ClientTest.java:225)
        at net.redpoint.yarnapp.ClientTest.main(ClientTest.java:22)