<?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: Kerberos - Issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67357#M45806</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1017"&gt;@Brian Burton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I performed ls on the java folder , the number is aint matching . i am sorry could you please take a look of the output see if that is unlimited strength ones that i need to enable AES256&amp;nbsp; .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4115i850A3E903C5136C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" alt="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 18:12:46 GMT</pubDate>
    <dc:creator>MattSun</dc:creator>
    <dc:date>2018-05-16T18:12:46Z</dc:date>
    <item>
      <title>Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67260#M45800</link>
      <description>&lt;P&gt;Can anyone explain whats the issue based on the error log from Namenode .&lt;/P&gt;
&lt;P&gt;Also because of this issue , Namenode is in Safe Mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had manually configured Kerberos and made the Cluster kerberoised using Cloudera Manager&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its really driving me insane . I am really tired of configuring kerberos in QuickStart&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Socket Reader #1 for port 8020: readAndProcess from client 192.168.19.131 threw exception [javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: Failure unspecified at GSS-API level (Mechanism level: Encryption type AES256 CTS mode with HMAC SHA1-96 is not supported/enabled)]]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67260#M45800</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-16T15:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67261#M45801</link>
      <description>&lt;P&gt;I have the policy jar in the right directory&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[cloudera@quickstart jdk1.7.0_67-cloudera]$ cd jre/lib/security/
[cloudera@quickstart security]$ ls
blacklist      java.policy    local_policy.jar
cacerts        java.security  trusted.libraries
javafx.policy  javaws.policy  US_export_policy.jar&lt;/PRE&gt;&lt;P&gt;This the debug trace&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[cloudera@quickstart jdk1.7.0_67-cloudera]$ export HADOOP_OPTS="-Dsun.security.krb5.debug=true"
[cloudera@quickstart jdk1.7.0_67-cloudera]$ hadoop fs -ls 
Java config name: null
Native config name: /etc/krb5.conf
Loaded from native config
&amp;gt;&amp;gt;&amp;gt;KinitOptions cache name is /tmp/krb5cc_501
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt;  client principal is hdfs@HADOOPSEC.COM
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; server principal is krbtgt/HADOOPSEC.COM@HADOOPSEC.COM
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; key type: 18
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; auth time: Mon May 14 10:25:41 PDT 2018
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; start time: Mon May 14 10:25:41 PDT 2018
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; end time: Tue May 15 10:25:41 PDT 2018
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; renew_till time: Mon May 21 10:25:41 PDT 2018
&amp;gt;&amp;gt;&amp;gt; CCacheInputStream: readFlags()  FORWARDABLE; RENEWABLE; INITIAL;
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt;  client principal is hdfs@HADOOPSEC.COM
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; server principal is X-CACHECONF:/krb5_ccache_conf_data/fast_avail/krbtgt/HADOOPSEC.COM@HADOOPSEC.COM
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; key type: 0
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; auth time: Wed Dec 31 16:00:00 PST 1969
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; start time: null
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; end time: Wed Dec 31 16:00:00 PST 1969
&amp;gt;&amp;gt;&amp;gt;DEBUG &amp;lt;CCacheInputStream&amp;gt; renew_till time: null
&amp;gt;&amp;gt;&amp;gt; CCacheInputStream: readFlags() 
&amp;gt;&amp;gt;&amp;gt; unsupported key type found the default TGT: 18
18/05/14 10:27:37 WARN security.UserGroupInformation: PriviledgedActionException as:cloudera (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
18/05/14 10:27:37 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
18/05/14 10:27:37 WARN security.UserGroupInformation: PriviledgedActionException as:cloudera (auth:KERBEROS) cause:java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
ls: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "quickstart.cloudera/192.168.19.131"; destination host is: "quickstart.cloudera":8020;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;My klist&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[cloudera@quickstart jdk1.7.0_67-cloudera]$ klist -e
Ticket cache: FILE:/tmp/krb5cc_501
Default principal: hdfs@HADOOPSEC.COM

Valid starting     Expires            Service principal
05/14/18 10:25:41  05/15/18 10:25:41  krbtgt/HADOOPSEC.COM@HADOOPSEC.COM
	renew until 05/21/18 10:25:41, Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96 &lt;/PRE&gt;</description>
      <pubDate>Mon, 14 May 2018 17:34:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67261#M45801</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-14T17:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67321#M45802</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&amp;nbsp;Could you please help me out with this issue . Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:12:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67321#M45802</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-16T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67326#M45803</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12768"&gt;@MattSun&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not your best source for this as my expertise is in Community Management but sometimes I get lucky so I read over your post. I zeroed in on this part of the initial issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Encryption type AES256 CTS mode with HMAC SHA1-96 is not supported/enabled&lt;/PRE&gt;
&lt;P&gt;So I did a search on the community to see what would pop up and found &lt;A href="https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/kerberos-authentication-failure-GSSAPI-Failure-gss-accept-sec/td-p/23333" target="_blank"&gt;this thread&lt;/A&gt;. I also saw a mention of JCE policy so I'll provide a &lt;A href="https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_sg_s2_jce_policy.html" target="_blank"&gt;link to documention&lt;/A&gt; on that as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give them both a read to see if they apply to your situation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 12:37:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67326#M45803</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2018-05-16T12:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67327#M45804</link>
      <description>&lt;P&gt;Thanks for the quick turn around.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As pointed in my previous thread , i had showed the snap shot that I had my policy jar in place .&lt;/P&gt;&lt;P&gt;But it is still erroring out more over Cloudera Quickstart Vm&amp;nbsp; do comes with Policy jars inside jre/lib/security .&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would really appreciate if anyone can help me , Because it is quickstart vm thought&amp;nbsp; someone would pitch in .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 13:40:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67327#M45804</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-16T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67350#M45805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12768"&gt;@MattSun&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are those the unlimited strength policy JARs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ls -l /usr/java/jdk1.7.0_67-cloudera/jre/lib/security/*policy.jar&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file sizes should be 2500 for &lt;FONT face="courier new,courier"&gt;local_policy.jar&lt;/FONT&gt; and 2487 for &lt;FONT face="courier new,courier"&gt;US_export_policy.jar&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If they're 2865 and 2397, then those are the ones that are included with the JDK, and are not the unlimited strength ones you need to enable AES256.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 16:34:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67350#M45805</guid>
      <dc:creator>Brian Burton</dc:creator>
      <dc:date>2018-05-16T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67357#M45806</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1017"&gt;@Brian Burton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I performed ls on the java folder , the number is aint matching . i am sorry could you please take a look of the output see if that is unlimited strength ones that i need to enable AES256&amp;nbsp; .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4115i850A3E903C5136C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" alt="VirtualBox_QuickStartVm_16_05_2018_23_41_33.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 18:12:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67357#M45806</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-16T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67358#M45807</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1017"&gt;@Brian Burton&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the One that i downloaded from Oracle website looks like this . So should i remove the previous policy jar and replace with the below . ? Could you let me know .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-rw-r--r--@ 1 matt staff  7289 May 31  2011 README.txt
-rw-rw-r--@ 1 matt   staff  2487 May 31  2011 US_export_policy.jar
-rw-rw-r--@ 1 matt   staff  2500 May 31  2011 local_policy.jar&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 May 2018 18:16:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67358#M45807</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-16T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67361#M45808</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12768"&gt;@MattSun&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, remove the old ones and replace them with those that you downloaded from Oracle.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 18:24:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67361#M45808</guid>
      <dc:creator>Brian Burton</dc:creator>
      <dc:date>2018-05-16T18:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67367#M45809</link>
      <description>Also, if you'd like to check if the JCE files you have are of unlimited policy type, you can follow this: &lt;A href="http://harshj.com/checking-if-your-jre-has-the-unlimited-strength-policy-files-in-place/" target="_blank"&gt;http://harshj.com/checking-if-your-jre-has-the-unlimited-strength-policy-files-in-place/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, a note: In latest JDK8 update and in all JDK9+, the unlimited cryptography policies are shipped and active by default. This step of manually replacing the JCE jars is only required for JDK7 and early JDK8 releases. The QuickStart VM uses JDK7 currently.</description>
      <pubDate>Thu, 17 May 2018 02:36:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67367#M45809</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2018-05-17T02:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67383#M45810</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1017"&gt;@Brian Burton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&amp;nbsp;,&lt;FONT color="#0000FF"&gt; I really cant thank you both&amp;nbsp; enough for quick response and info.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;It worked .&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 08:13:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67383#M45810</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-17T08:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos - Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67384#M45811</link>
      <description>Thanks for the info.</description>
      <pubDate>Thu, 17 May 2018 08:13:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-Issue/m-p/67384#M45811</guid>
      <dc:creator>MattSun</dc:creator>
      <dc:date>2018-05-17T08:13:36Z</dc:date>
    </item>
  </channel>
</rss>

