<?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 access HDFS after enabling kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/45007#M39012</link>
    <description>&lt;P&gt;Hi harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was with JCE files, i updated them in the wrong location instead of&amp;nbsp;/usr/java/jdk1.7.0_25/jre/lib/security/.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once i have updated the JCE files in the above location, now i'm able to access HDFS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cibi&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 20:04:14 GMT</pubDate>
    <dc:creator>Cibi</dc:creator>
    <dc:date>2016-09-12T20:04:14Z</dc:date>
    <item>
      <title>Unable to access HDFS after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/44447#M39010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to access HDFS after enabling Kerberos authentication in my cluster. My namenode is in safe mode and is throwing out the below error when trying to execute leave safemode command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PFB the error details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Failed to leave Safemode: at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)&lt;BR /&gt;at com.sun.proxy.$Proxy17.setSafeMode(Unknown Source)&lt;BR /&gt;at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(ClientNamenodeProtocolTranslatorPB.java:647)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:256)&lt;BR /&gt;at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)&lt;BR /&gt;at com.sun.proxy.$Proxy18.setSafeMode(Unknown Source)&lt;BR /&gt;at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2606)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1132)&lt;BR /&gt;at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1116)&lt;BR /&gt;at org.apache.hadoop.hdfs.tools.DFSAdmin.setSafeMode(DFSAdmin.java:571)&lt;BR /&gt;at org.apache.hadoop.hdfs.tools.DFSAdmin.run(DFSAdmin.java:1793)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)&lt;BR /&gt;at org.apache.hadoop.hdfs.tools.DFSAdmin.main(DFSAdmin.java:1967)&lt;BR /&gt;16/08/28 00:34:51 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs/&amp;lt;hostname&amp;gt;@SPARTA.COM (auth:KERBEROS) cause:java.io.IOException: Couldn't setup connection for hdfs/&amp;lt;hostname&amp;gt;@SPARTA.COM to &amp;lt;hostname&amp;gt;/&amp;lt;ip-address&amp;gt;:8020&lt;BR /&gt;safemode: Failed on local exception: java.io.IOException: Couldn't setup connection for hdfs/&amp;lt;hostname&amp;gt;@SPARTA.COM to &amp;lt;hostname&amp;gt;/&amp;lt;ip-address&amp;gt;:8020; Host Details : local host is: "&amp;lt;hostname&amp;gt;/&amp;lt;ip-address&amp;gt;"; destination host is: "&amp;lt;hostname&amp;gt;":8020;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cibi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:37:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/44447#M39010</guid>
      <dc:creator>Cibi</dc:creator>
      <dc:date>2022-09-16T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access HDFS after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/44647#M39011</link>
      <description>Could you tail and check your NameNode log to observe what it prints as a security error when you attempt this request on it?&lt;BR /&gt;&lt;BR /&gt;Does your command use the same JVM (with unlimited JCE jars installed if applicable) as the server does?</description>
      <pubDate>Fri, 02 Sep 2016 01:11:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/44647#M39011</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-09-02T01:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access HDFS after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/45007#M39012</link>
      <description>&lt;P&gt;Hi harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was with JCE files, i updated them in the wrong location instead of&amp;nbsp;/usr/java/jdk1.7.0_25/jre/lib/security/.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once i have updated the JCE files in the above location, now i'm able to access HDFS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cibi&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 20:04:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-access-HDFS-after-enabling-kerberos/m-p/45007#M39012</guid>
      <dc:creator>Cibi</dc:creator>
      <dc:date>2016-09-12T20:04:14Z</dc:date>
    </item>
  </channel>
</rss>

