HDP on Linux – Installation Forum

FATAL DataNode Exception in secureMain

  • #58319

    Hi all, I have the next problem when I try to start my DataNode, (2.4 version) (java version 1.7.0_03)

    2014-08-05_15:36:08.40926 14/08/05 15:36:08 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0
    2014-08-05_15:36:08.43122 14/08/05 15:36:08 INFO datanode.DataNode: Opened streaming server at /
    2014-08-05_15:36:08.43413 14/08/05 15:36:08 INFO datanode.DataNode: Balancing bandwith is 6250000 bytes/s
    2014-08-05_15:36:08.44498 14/08/05 15:36:08 FATAL datanode.DataNode: Exception in secureMain
    2014-08-05_15:36:08.44501 java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.SharedFileDescriptorFactory.createDescriptor0(Ljava/lang/String;Ljava/lang/String;I)Ljava/io/FileDescriptor;
    2014-08-05_15:36:08.44501 at org.apache.hadoop.io.nativeio.SharedFileDescriptorFactory.createDescriptor0(Native Method)
    2014-08-05_15:36:08.44501 at org.apache.hadoop.io.nativeio.SharedFileDescriptorFactory.create(SharedFileDescriptorFactory.java:87)
    2014-08-05_15:36:08.44501 at org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.<init>(ShortCircuitRegistry.java:169)
    2014-08-05_15:36:08.44502 at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:548)
    2014-08-05_15:36:08.44502 at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:736)
    2014-08-05_15:36:08.44502 at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:281)
    2014-08-05_15:36:08.44502 at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1878)
    2014-08-05_15:36:08.44502 at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1772)
    2014-08-05_15:36:08.44503 at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1812)
    2014-08-05_15:36:08.44503 at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1988)
    2014-08-05_15:36:08.44504 at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2012)
    2014-08-05_15:36:08.44607 14/08/05 15:36:08 INFO util.ExitUtil: Exiting with status 1
    2014-08-05_15:36:08.44739 14/08/05 15:36:08 INFO datanode.DataNode: SHUTDOWN_MSG:
    2014-08-05_15:36:08.44741 /************************************************************
    2014-08-05_15:36:08.44741 SHUTDOWN_MSG: Shutting d…

    When I try to start it manually:

    [root@root sbin]# ./hadoop-daemon.sh –config /etc/hadoop –script hdfs start datanode
    starting datanode, logging to /opt/rb/var/hadoop/logs/hadoop-root-datanode-pablo04.out
    ./hadoop-daemon.sh: line 123: 7648 Killed nohup nice -n $HADOOP_NICENESS $hdfsScript –config $HADOOP_CONF_DIR $command “$@” > “$log” 2>&1 < /dev/null

    Could anyone help me please?

to create new topics or reply. | New User Registration

  • Author
  • #58816

    Hi Sergio,

    Can you provide the error from the datanode .out log file from the time when you start the datanode?


You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.