<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: DataNode service failed with Exception in secureMain in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56637#M48795</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the same command (hdfs datanode) in other nodes that are up and running and the error is the same.&lt;/P&gt;&lt;P&gt;The strange thing here is my service is not logging, I mean hadoop-hdfs-datanode-mynode.log is empty, blanck, nothing...&lt;/P&gt;&lt;P&gt;Yarn nodemanager is up and running in the same node and it's working fine, picked-up tasks to do inmmediatelly.&lt;/P&gt;&lt;P&gt;If I can't get logs from the datanode service (wich is running dummly) I wouldn't be able to do anything.&lt;/P&gt;&lt;P&gt;Any help is very welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guido.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 15:04:57 GMT</pubDate>
    <dc:creator>gsalerno</dc:creator>
    <dc:date>2017-06-28T15:04:57Z</dc:date>
    <item>
      <title>DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56565#M48790</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to add a new DataNode in a running cluster.&lt;/P&gt;&lt;P&gt;The cluster is in HA for HDFS (NNs) and for Yarn (RMs) and is secured by kerberos integration.&lt;/P&gt;&lt;P&gt;When I performed the necessary steps to add a new DN and started the hadoop-hdfs-datanode service the new node didn't shows up in the list of DNs (I perfomed a refresh on the NNs).&lt;/P&gt;&lt;P&gt;In&amp;nbsp;/var/log/hadoop-hdfs/hadoop-hdfs-datanode-mynode.log there is nothing logged.&lt;/P&gt;&lt;P&gt;The output for command "hdfs datanode" is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2017-06-26 15:42:58,544 INFO security.UserGroupInformation: Login successful for user hdfs/&lt;SPAN&gt;my.datanode.fqdn&lt;/SPAN&gt;@MY.REALM.FQDN&amp;nbsp;using keytab file /path/to/hdfs.keytab&lt;BR /&gt;2017-06-26 15:42:59,292 INFO impl.MetricsConfig: loaded properties from hadoop-metrics2.properties&lt;BR /&gt;2017-06-26 15:42:59,333 INFO impl.MetricsSinkAdapter: Sink collectd started&lt;BR /&gt;2017-06-26 15:42:59,385 INFO impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2017-06-26 15:42:59,385 INFO impl.MetricsSystemImpl: DataNode metrics system started&lt;BR /&gt;2017-06-26 15:42:59,404 INFO datanode.DataNode: File descriptor passing is enabled.&lt;BR /&gt;2017-06-26 15:42:59,407 INFO datanode.DataNode: Configured hostname is&amp;nbsp;my.datanode.fqdn&lt;/P&gt;&lt;P&gt;2017-06-26 15:42:59,415 FATAL datanode.DataNode: Exception in secureMain&lt;BR /&gt;java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1205)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1106)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.&amp;lt;init&amp;gt;(DataNode.java:451)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2406)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2293)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2340)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2517)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2541)&lt;BR /&gt;2017-06-26 15:42:59,436 INFO util.ExitUtil: Exiting with status 1&lt;BR /&gt;2017-06-26 15:42:59,475 INFO datanode.DataNode: SHUTDOWN_MSG:&lt;BR /&gt;/************************************************************&lt;BR /&gt;SHUTDOWN_MSG: Shutting down DataNode at my.datanode.fqdn/my-datanode-ip-address&lt;BR /&gt;************************************************************/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guido.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 13:23:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56565#M48790</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-06-27T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56589#M48791</link>
      <description>&lt;P&gt;Could you check the parameter value of this in your ruining datanode &amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hdfs-site.xml 

dfs.data.transfer.protection = ?&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 17:05:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56589#M48791</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-27T17:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56597#M48792</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The property "dfs.data.transfer.protection" is not present in hdfs-site.xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guido.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 19:21:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56597#M48792</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-06-27T19:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56598#M48793</link>
      <description>&lt;P&gt;The weird thing here is datanode service not loggin anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log in the /var/hadoop-hdfs/ has no text, only the out file but in the out file always appears to be fine, the service is running but the node is not present in the cluster and is not logging.&lt;/P&gt;&lt;P&gt;There is a way to debbug the datanode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 20:24:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56598#M48793</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-06-27T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56607#M48794</link>
      <description>&lt;P&gt;Did you set your datanode secure port to 1004 ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I dont know the exact configuration in your system I assume that enabling the below should fix your problem based on the error that you had shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hadoop.rpc.protection = privacy (core-site.xml)
dfs.encrypt.data.transfer to true (hdfs-site.xml)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restart &amp;nbsp;all the dameons to effect .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 01:55:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56607#M48794</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-28T01:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56637#M48795</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the same command (hdfs datanode) in other nodes that are up and running and the error is the same.&lt;/P&gt;&lt;P&gt;The strange thing here is my service is not logging, I mean hadoop-hdfs-datanode-mynode.log is empty, blanck, nothing...&lt;/P&gt;&lt;P&gt;Yarn nodemanager is up and running in the same node and it's working fine, picked-up tasks to do inmmediatelly.&lt;/P&gt;&lt;P&gt;If I can't get logs from the datanode service (wich is running dummly) I wouldn't be able to do anything.&lt;/P&gt;&lt;P&gt;Any help is very welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guido.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:04:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56637#M48795</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-06-28T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56670#M48796</link>
      <description>&lt;P&gt;Did you try bounchign the cluster back after those changes in hdfs , core site xml ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;please let me know&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 01:14:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56670#M48796</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-29T01:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56711#M48797</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt;&amp;nbsp;I'll try to do it.&lt;/P&gt;&lt;P&gt;I realized the cluster is full of custom java classes and dependences so I've to take a deep dive into the config in order to find out what is happening.&lt;/P&gt;&lt;P&gt;Thus the cluster is pure CDH, no Cloudera Manager, so any issue is a little bit complex to solve.&lt;/P&gt;&lt;P&gt;As far as I can solve this I'll let you know.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 12:41:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56711#M48797</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-06-29T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56903#M48798</link>
      <description>&lt;P&gt;Finally the node is up and running!&lt;/P&gt;&lt;P&gt;Lot's of java custom packages that I forgot to include in the new DN.&lt;/P&gt;&lt;P&gt;I didn't get clear how missing jar files can cause such a strange behavior.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guido.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:33:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/56903#M48798</guid>
      <dc:creator>gsalerno</dc:creator>
      <dc:date>2017-07-04T14:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: DataNode service failed with Exception in secureMain</title>
      <link>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/327614#M230108</link>
      <description>&lt;P&gt;How did you resolve the issue? I am facing a similar problem with datanode not starting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 06:11:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/DataNode-service-failed-with-Exception-in-secureMain/m-p/327614#M230108</guid>
      <dc:creator>Kitlay</dc:creator>
      <dc:date>2021-10-14T06:11:05Z</dc:date>
    </item>
  </channel>
</rss>

