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

apache-commons-lang.jar 2.6 does not support FreeBSD -upgrade to 3.x needed

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hadoop-2.4.1 ships with apache-commons.jar version 2.6.
      It does not support FreeBSD (IS_OS_UNIX returns False).

      This is fixed in recent versions of apache-commons.jar

      Please update apache-commons.jar to recent version so it correctly recognizes FreeBSD as UNIX-like system.

      Right now I get in datanode's log:
      2014-07-04 11:58:10,459 DEBUG org.apache.hadoop.hdfs.server.datanode.ShortCircui
      tRegistry: Disabling ShortCircuitRegistry
      java.io.IOException: The OS is not UNIX.
      at org.apache.hadoop.io.nativeio.SharedFileDescriptorFactory.create(SharedFileDescriptorFactory.java:77)
      at org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.<init>(ShortCircuitRegistry.java:169)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:583)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:771)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:289)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1931)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1818)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1865)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2041)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2065)

        Attachments

        1. commons-lang3_1.patch
          106 kB
          Dmitry Sivachenko

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                trtrmitya Dmitry Sivachenko
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: