<?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: Unable to Start DataNode in kerberos cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177947#M140194</link>
    <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I see "&lt;STRONG&gt;STARTUP_MSG: version = 2.6.0-cdh5.13.0 "  &lt;/STRONG&gt;is this a cloudera cluster ? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Curiously I  contribute in cloudera community and I see you opened also a thread in  &lt;A target="_blank" href="http://community.cloudera.com/t5/Storage-Random-Access-HDFS/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/61210"&gt; http://community.cloudera.com/t5/Storage-Random-Access-HDFS/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/61210&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Could you be precise on the distribution so you can get better help?&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Oct 2017 15:42:59 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2017-10-28T15:42:59Z</dc:date>
    <item>
      <title>Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177938#M140185</link>
      <description>&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;I'm unable to start DataNode after enabling the kerberos in my cluster.
I tried all the suggested solutions in the community and Internet and without any success to solve it.&lt;/P&gt;&lt;P&gt;
All other servers started and my cluster and node able to authenticate against the active directory. &lt;/P&gt;&lt;P&gt;Here the important config in the HDFS:&lt;/P&gt;&lt;P&gt;
dfs.datanode.http.address 1006&lt;/P&gt;&lt;P&gt;
dfs.datanode.address 1004&lt;/P&gt;&lt;P&gt;
hadoop.security.authentication kerberos&lt;/P&gt;&lt;P&gt;
hadoop.security.authorization true&lt;/P&gt;&lt;P&gt;
hadoop.rpc.protection authentication &lt;/P&gt;&lt;P&gt;Enable Kerberos Authentication for HTTP Web-Consoles true&lt;/P&gt;&lt;P&gt;
and here is the log:
STARTUP_MSG:   java = 1.8.0_101
************************************************************/
2017-10-23 06:56:02,698 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: registered UNIX signal handlers for [TERM, HUP, INT]
2017-10-23 06:56:03,449 INFO org.apache.hadoop.security.UserGroupInformation: Login successful for user hdfs/aopr-dhc001.lpdomain.com@LPDOMAIN.COM using keytab file hdfs.keytab
2017-10-23 06:56:03,812 INFO org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from hadoop-metrics2.properties
2017-10-23 06:56:03,891 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).
2017-10-23 06:56:03,891 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: DataNode metrics system started
2017-10-23 06:56:03,899 INFO org.apache.hadoop.hdfs.server.datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576
2017-10-23 06:56:03,900 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: File descriptor passing is enabled.
2017-10-23 06:56:03,903 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Configured hostname is aopr-dhc001.lpdomain.com
2017-10-23 06:56:03,908 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain
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.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1371)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1271)
at org.apache.hadoop.hdfs.server.datanode.DataNode.&amp;lt;init&amp;gt;(DataNode.java:464)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2583)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2470)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2517)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2699)
at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2723)
2017-10-23 06:56:03,919 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2017-10-23 06:56:03,921 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at aopr-dhc001.lpdomain.com/10.16.144.131
************************************************************/
2017-10-23 06:56:08,422 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting DataNode
STARTUP_MSG:   host = aopr-dhc001.lpdomain.com/10.16.144.131
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 2.6.0-cdh5.13.0=======================&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:27:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177938#M140185</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2022-09-16T12:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177939#M140186</link>
      <description>&lt;P&gt;A few things to check for:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Are you starting the DataNode process as root?&lt;/LI&gt;&lt;LI&gt;Have you set HADOOP_SECURE_DN_USER and JSVC_HOME?&lt;/LI&gt;&lt;LI&gt;Since you are using a privileged port number (&amp;lt;1024), ensure you have not set dfs.data.transfer.protection.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The Apache Hadoop documentation for Secure DN setup is good.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.4/hadoop-project-dist/hadoop-common/SecureMode.html#Secure_DataNode" target="_blank"&gt;https://hadoop.apache.org/docs/r2.7.4/hadoop-project-dist/hadoop-common/SecureMode.html#Secure_DataNode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 23:58:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177939#M140186</guid>
      <dc:creator>ArpitAgarwal</dc:creator>
      <dc:date>2017-10-27T23:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177940#M140187</link>
      <description>&lt;P&gt;Hi Arpit&lt;/P&gt;&lt;P&gt;I'm using hadoop 2.6&lt;/P&gt;&lt;P&gt;1- I'm starting the DN using the superuser.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2- No, HADOOP_SECURE_DN_USER is commented under /etc/default/hadoop-hdfs-datanode,  no config for JSVC_HOME&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;3- dfs.data.transfer.protection is none&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Do i need to add there 2 parameters for my hadoop-env.sh under /etc/hadoop/conf?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 00:02:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177940#M140187</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T00:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177941#M140188</link>
      <description>&lt;P&gt;Did you enable security using the Ambari Kerberos wizard? That usually takes care of these settings for you.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177941#M140188</guid>
      <dc:creator>ArpitAgarwal</dc:creator>
      <dc:date>2017-10-28T01:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177942#M140189</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46266/fawzeaj.html" nodeid="46266"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you recently upgraded your Operating System Kernel?  Is your kernel version  something like this "kernel-3.10.0-514.21.2.el7.x86_64"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you please try to add&lt;STRONG&gt; “-Xss2m”&lt;/STRONG&gt;  as following inside the "/usr/hdp/$VERSION/hadoop-hdfs/bin/hdfs.distro" on all the Datanodes&lt;/P&gt;&lt;PRE&gt;exec "$JSVC" \
-Xss2m \
org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter "$@“ &lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;Then try starting DN again.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;NOTE: Also please check if there is any JVM crash file created as. If this file is created then it might be related to : &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/109594/datanode-failing-to-start-jre-sigbus-error.html" target="_blank"&gt;https://community.hortonworks.com/questions/109594/datanode-failing-to-start-jre-sigbus-error.html&lt;/A&gt;       and the -Xss2m  solution should work.&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;/var/log/hadoop/hs_err_pid#.log&amp;lt;/em&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:08:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177942#M140189</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-28T01:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177943#M140190</link>
      <description>&lt;P&gt;Yes, I did.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:10:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177943#M140190</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T01:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177944#M140191</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46266/fawzeaj.html" nodeid="46266"&gt;@Fawze AbuJaber&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might also want to update HADOOP_DATANODE_OPTS environment varialbe in hadoop-env to have "-Xss2m" &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46266/fawzeaj.html" nodeid="46266"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:16:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177944#M140191</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-28T01:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177945#M140192</link>
      <description>&lt;P&gt;Tried this but with no success&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:30:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177945#M140192</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T01:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177946#M140193</link>
      <description>&lt;P&gt;My kernel is: 2.6.32-573.26.1.el6.x86_64&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:30:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177946#M140193</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T01:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177947#M140194</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I see "&lt;STRONG&gt;STARTUP_MSG: version = 2.6.0-cdh5.13.0 "  &lt;/STRONG&gt;is this a cloudera cluster ? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Curiously I  contribute in cloudera community and I see you opened also a thread in  &lt;A target="_blank" href="http://community.cloudera.com/t5/Storage-Random-Access-HDFS/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/61210"&gt; http://community.cloudera.com/t5/Storage-Random-Access-HDFS/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/61210&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Could you be precise on the distribution so you can get better help?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 15:42:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177947#M140194</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-28T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177948#M140195</link>
      <description>&lt;P&gt;Hi Geoffrey,&lt;/P&gt;&lt;P&gt;Yes i'm using CDH but the error i'm getting is not related to CDH.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 15:48:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177948#M140195</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177949#M140196</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;&lt;EM&gt;@Fawze AbuJaber&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Can you change the below from the current "authentication" to "privacy" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;core-site.xml&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.rpc.protection = privacy&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hdfs-site.xml &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;dfs.encrypt.data.transfer=true &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Does the Cluster have custom java classes and dependences? If so include them Have a look at this jira &lt;A target="_blank" href="https://issues.apache.org/jira/browse/AMBARI-8174"&gt; https://issues.apache.org/jira/browse/AMBARI-8174&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You may need to configure both &lt;STRONG&gt;dfs.data.transfer.protection&lt;/STRONG&gt; and &lt;STRONG&gt;hadoop.rpc.protection&lt;/STRONG&gt; to specify QOP for rpc and data transfer protocols. In some cases, the values for these two properties will be same. In those cases, it may be easier to allow dfs.data.transfer.protection default to hadoop.rpc.protection.This also ensures that an admin will get QOP as Authentication if admin does not specify either of those values.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The restart the datanode after the 2 changes in the &lt;STRONG&gt;core / hdfs site .xml&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 17:03:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177949#M140196</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-28T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177950#M140197</link>
      <description>&lt;P&gt;Tried but with no success, indeed i'm notice such error before this error and don'w know how it might be related:&lt;/P&gt;&lt;PRE&gt;KdcAccessibility: remove ropr-mng01.lpdomain.com
&amp;gt;&amp;gt;&amp;gt; KDCRep: init() encoding tag is 126 req type is 11
&amp;gt;&amp;gt;&amp;gt;KRBError:
	 sTime is Sat Oct 28 06:26:45 EDT 2017 1509186405000
	 suSec is 487082
	 error code is 25
	 error Message is Additional pre-authentication required
	 sname is krbtgt/LPDOMAIN.COM@LPDOMAIN.COM
	 eData provided.&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Oct 2017 17:31:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177950#M140197</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T17:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177951#M140198</link>
      <description>&lt;P&gt;When i disable the kerberos, all is working fine.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 17:33:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177951#M140198</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177952#M140199</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There could be a couple of issues with your Kerberos setup. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am not familiar with the Cloudera Manager /Kerberos wizard but I have some pointers can you share your &lt;STRONG&gt;krb5.ini or conf&lt;/STRONG&gt;? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It seems your KDC does not support the encryption type requested. The desired encryption types are specified in the following tags in the Kerberos Configuration file &lt;STRONG&gt;krb5.ini or conf&lt;/STRONG&gt;: &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt; [libdefaults]&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Enable debug by running the below kinit where  xxx.ktab  and xxx.ktab_Principal is the principal,you can get the values using &lt;STRONG&gt;klist&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;kinit -J-Dsun.security.krb5.debug=true -J-Djava.security.debug=true -k -t xxx.ktab {xxx.ktab_Principal}&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Please let me know &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 18:44:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177952#M140199</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-28T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177953#M140200</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;supported_enctypes = aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal&lt;/P&gt;&lt;P&gt;
I Have the following config also:&lt;/P&gt;&lt;P&gt; :dfs.encrypt.data.transfer.algorithm=AES/CTR/NoPadding&lt;/P&gt;&lt;P&gt;
dfs.encrypt.data.transfer.cipher.key.bitlength=256&lt;/P&gt;&lt;P&gt;
Kerberos Encryption Types=rc4-hmac&lt;/P&gt;&lt;P&gt;
seems that kinit nor working in the same you in HDP:&lt;/P&gt;&lt;P&gt;
[root@aopr-dhc001 ~]# kinit -V -J-Dsun.security.krb5.debug=true -J-Djava.security.debug=true -k -t cloudera-scm@LPDOMAIN.COM.ktab {cloudera-scm@LPDOMAIN.COM.ktab_Principal} &lt;/P&gt;&lt;P&gt;kinit: invalid option -- 'J'
kinit: invalid option -- '-'
kinit: invalid option -- 'D'
Bad start time value un.security.krb5.debug=true
kinit: invalid option -- 'J'
kinit: invalid option -- '-'
kinit: invalid option -- 'D'
kinit: invalid option -- 'j'
kinit: invalid option -- '.'
Bad start time value ecurity.debug=true
Usage: kinit [-V] [-l lifetime] [-s start_time]
        [-r renewable_life] [-f | -F] [-p | -P] -n [-a | -A] [-C]
        [-E]
        [-v] [-R] [-k [-t keytab_file]] [-c cachename]
        [-S service_name] [-T ticket_armor_cache]
        [-X &amp;lt;attribute&amp;gt;[=&amp;lt;value&amp;gt;]] [principal]
    options:    -V verbose
        -l lifetime
        -s start time
        -r renewable lifetime
        -f forwardable
        -F not forwardable
        -p proxiable
        -P not proxiable
        -n anonymous
        -a include addresses
        -A do not include addresses
        -v validate
        -R renew
        -C canonicalize
        -E client is enterprise principal name
        -k use keytab
        -t filename of keytab to use
        -c Kerberos 5 cache name
        -S service
        -T armor credential cache
        -X &amp;lt;attribute&amp;gt;[=&amp;lt;value&amp;gt;]&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 20:12:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177953#M140200</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T20:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177954#M140201</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please do this instead the previous &lt;STRONG&gt;{.......}&lt;/STRONG&gt; was an example, sorry I didn't elaborate!&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;kinit -V -J-Dsun.security.krb5.debug=true -J-Djava.security.debug=true -k -t cloudera-scm@LPDOMAIN.COM.ktab cloudera-scm@LPDOMAIN.COM.ktab_Principal&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;And can you attach the krb5.conf (Linux) and krb5.ini (windows)  I need to see what values you have in there.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 20:28:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177954#M140201</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-28T20:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177955#M140202</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;[root@aopr-dhc001 ~]# cat /etc/krb5.conf &lt;/P&gt;&lt;P&gt;[libdefaults] &lt;/P&gt;&lt;P&gt;default_realm = LPDOMAIN.COM&lt;/P&gt;&lt;P&gt;
dns_lookup_kdc = true&lt;/P&gt;&lt;P&gt;
dns_lookup_realm = false&lt;/P&gt;&lt;P&gt;
ticket_lifetime = 86400&lt;/P&gt;&lt;P&gt;
renew_lifetime = 604800&lt;/P&gt;&lt;P&gt;
forwardable = true &lt;/P&gt;&lt;P&gt;default_tgs_enctypes = rc4-hmac&lt;/P&gt;&lt;P&gt;
default_tkt_enctypes = rc4-hmac&lt;/P&gt;&lt;P&gt;
permitted_enctypes = rc4-hmac&lt;/P&gt;&lt;P&gt;
udp_preference_limit = 1&lt;/P&gt;&lt;P&gt;
kdc_timeout = 5000 &lt;/P&gt;&lt;P&gt;supported_enctypes = aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal&lt;/P&gt;&lt;P&gt;
[realms]
LPDOMAIN.COM = {
kdc = ropr-mng01.lpdomain.com &lt;/P&gt;&lt;P&gt;admin_server = ropr-mng01.lpdomain.com
}&lt;/P&gt;&lt;P&gt;
[domain_realm]&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 20:32:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177955#M140202</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T20:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177956#M140203</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/46266/fawzeaj.html"&gt;@Fawze AbuJaber&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you make a backup and replace your krb5.conf with this file below please notice the difference!  Can you make sure the supported_enctypes match your AD encryption ?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;[libdefaults]
  default_realm = LPDOMAIN.COM
  dns_lookup_kdc = true
  dns_lookup_realm = false
  ticket_lifetime = 86400
  renew_lifetime = 604800
  forwardable = true
  default_tgs_enctypes = rc4-hmac
  default_tkt_enctypes = rc4-hmac
  permitted_enctypes = rc4-hmac
  udp_preference_limit = 1
  kdc_timeout = 5000
  supported_enctypes = aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal
[domain_realm]
  lpdomain.com = LPDOMAIN.COM
  .lpdomain.com = LPDOMAIN.COM
[realms] 
  LPDOMAIN.COM = { 
  kdc = ropr-mng01.lpdomain.com
  admin_server = ropr-mng01.lpdomain.com 
  }
[domain_realm]
  lpdomain.com = LPDOMAIN.COM
  .lpdomain.com = LPDOMAIN.COM&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;BRB&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 20:52:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177956#M140203</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-28T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Start DataNode in kerberos cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177957#M140204</link>
      <description>&lt;P&gt;Tried but still getting the same error,&lt;/P&gt;&lt;P&gt;Below attached my AD supported encryption&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/41599-ad-conf-in-ad.png"&gt;ad-conf-in-ad.png&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/41600-ad-part-2.png"&gt;ad-part-2.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 21:02:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Start-DataNode-in-kerberos-cluster/m-p/177957#M140204</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-10-28T21:02:12Z</dc:date>
    </item>
  </channel>
</rss>

