<?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 have view in kerberized cluster. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115125#M50890</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/504/kkulkarni.html"&gt;Kuldeep Kulkarni&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/3576/rguruvannagari.html"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have done the changes still it doesnt work.. i have posted the log file and the view setting above.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 14:26:39 GMT</pubDate>
    <dc:creator>surchitrartha</dc:creator>
    <dc:date>2017-01-06T14:26:39Z</dc:date>
    <item>
      <title>Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115118#M50883</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;I have 3 nodes hadoop kerberized cluster. But while i am opening view i am getting below error:&lt;/P&gt;&lt;P&gt;SIMPLE authentication is not enabled. Available:[TOKEN]&lt;/P&gt;&lt;P&gt;Below is the solution i came across as per the link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/7896/simple-authentication-is-not-enabled-availabletoke.html" target="_blank"&gt;https://community.hortonworks.com/questions/7896/simple-authentication-is-not-enabled-availabletoke.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As per the above solution i have made 2 changes:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;hadoop.security.authentication&lt;/STRONG&gt;" to "&lt;STRONG&gt;simple&lt;/STRONG&gt;" in the file &lt;STRONG&gt;/etc/hadoop/conf/core-site.xml in ambari.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'hive.server2.authentication'&lt;/STRONG&gt; is set to &lt;STRONG&gt;'None'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But &lt;/STRONG&gt;while i am able to open the views but node managers and datanodes gives error to kerberos..as below:&lt;/P&gt;&lt;P&gt;2017-01-05 16:12:22,661 WARN  authorize.ServiceAuthorizationManager (ServiceAuthorizationManager.java:authorize(119)) - Authorization failed for yarn (auth:SIMPLE) for protocol=interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB, expected client Kerberos principal is nm/hdpdn1.hadoop.com@HADOOP.COM
2017-01-05 16:12:22,661 INFO  ipc.Server (Server.java:authorizeConnection(2039)) - Connection from 192.168.56.41:34702 for protocol org.apache.hadoop.yarn.server.api.ResourceTrackerPB is unauthorized for user yarn (auth:SIMPLE)
2017-01-05 16:12:22,661 INFO  ipc.Server (Server.java:doRead(850)) - Socket Reader #1 for port 8025: readAndProcess from client 192.168.56.41 threw exception [org.apache.hadoop.security.authorize.AuthorizationException: User yarn (auth:SIMPLE) is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB, expected client Kerberos principal is nm/hdpdn1.hadoop.com@HADOOP.COM]&lt;/P&gt;&lt;P&gt;Please help me to have kerberize cluster and views.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:53:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115118#M50883</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2022-09-16T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115119#M50884</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;@chitrartha sur&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also can you please share the screenshot of the HIve/File view configuration here.&lt;/P&gt;&lt;P&gt;Which version of Ambari are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:13:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115119#M50884</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-05T21:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115120#M50885</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;@chitrartha sur&lt;/A&gt;&lt;P&gt;You dont need to change hadoop properties in core-site.xml. Problem is not with hadoop components, it is with hive/files view settings that needs to be modified to set webhdfs authentication to auth=KERBEROS,proxyuser=&amp;lt;proxyuser&amp;gt;&lt;/P&gt;&lt;P&gt;Refer below doc about how to configure Ambari views if cluster is kerberized. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-views/content/Kerberos_Settings.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-views/content/Kerberos_Settings.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Revert back the changes in core-site and make sure all the services are UP and follow the above doc for view setting for kerberized cluster. &lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:20:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115120#M50885</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2017-01-05T21:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115121#M50886</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;here is my File view setting and log file as the error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11157-fileview.png" style="width: 900px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23112i30DC954A544DF4F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11157-fileview.png" alt="11157-fileview.png" /&gt;&lt;/span&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11158-fileview.txt" target="_blank"&gt;fileview.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:02:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115121#M50886</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2019-08-19T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115122#M50887</link>
      <description>&lt;P&gt;ambari version-Version2.2.0.0 &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:15:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115122#M50887</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-06T01:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115123#M50888</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;@chitrartha sur&lt;/A&gt;&lt;P&gt;In addition to above answers,&lt;/P&gt;&lt;P&gt;Please refer below article and let us know if you face any further issues.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/40658/configure-hive-view-for-kerberized-cluster.html" target="_blank"&gt;https://community.hortonworks.com/articles/40658/configure-hive-view-for-kerberized-cluster.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:23:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115123#M50888</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2017-01-06T01:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115124#M50889</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3576/rguruvannagari.html"&gt;rguruvannagari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have done the changes still it doesnt work.. i have posted the log file and the view setting above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:26:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115124#M50889</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-06T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115125#M50890</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/504/kkulkarni.html"&gt;Kuldeep Kulkarni&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/3576/rguruvannagari.html"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have done the changes still it doesnt work.. i have posted the log file and the view setting above.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115125#M50890</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-06T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115126#M50891</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;@chitrartha sur&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As the error you attached as part of "files.txt" shows:&lt;/P&gt;&lt;PRE&gt;500 SIMPLE authentication is not enabled. Available:[TOKEN, KERBEROS]&lt;/PRE&gt;&lt;P&gt;Please refer to last point :  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_Troubleshooting.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_Troubleshooting.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If your cluster is configured for Kerberos, you cannot use the Local Cluster Configuration option. You must use the Custom Cluster Configuration option and enter the WebHDFS FileSystem URI.&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;example&lt;/STRONG&gt;: webhdfs://namenode:50070&lt;/P&gt;&lt;P&gt;As per your screenshot you are using "Local Cluster". Following link talks about configuring&lt;STRONG&gt; "Custom Cluster Configuration"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_Cluster_Configuration_Custom.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_Cluster_Configuration_Custom.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:50:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115126#M50891</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-06T14:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115127#M50892</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; File view is working fine now.&lt;/P&gt;&lt;P&gt;But now i am having problem with hive view.&lt;/P&gt;&lt;P&gt;Here is the log below.. also i have attached the hive view config setting.&lt;/P&gt;&lt;P&gt;05 Jan 2017 22:16:26,599 ERROR [qtp-ambari-client-618] ServiceFormattedException:95 - H020 Could not establish connecton to hdpdn2.hadoop.com:10000: org.apache.thrift.transport.TTransportException: Peer indicated failure: Unsupported mechanism type GSSAPI: org.apache.thrift.transport.TTransportException: Peer indicated failure: Unsupported mechanism type GSSAPI
05 Jan 2017 22:16:26,600 ERROR [qtp-ambari-client-618] ServiceFormattedException:96 - org.apache.ambari.view.hive.client.HiveClientException: H020 Could not establish connecton to hdpdn2.hadoop.com:10000: org.apache.thrift.transport.TTransportException: Peer indicated failure: Unsupported mechanism type GSSAPI: org.apache.thrift.transport.TTransportException: Peer indicated failure: Unsupported mechanism type GSSAPI&lt;/P&gt;&lt;P&gt;Also the port is working fine:&lt;/P&gt;&lt;P&gt;[root@hdpdn2 keytabs]# netstat -tulpn|grep 10000
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      14800/java
[root@hdpdn2 keytabs]# ps -ef|grep 14800
hive     14800     1  0 15:24 ?        00:00:35 /usr/jdk64/jdk1.8.0_60/bin/java -Xmx1024m -Dhdp.version=2.3.4.0-3485 -Djava.net.preferIPv4Stack=true -Dhdp.version=2.3.4.0-3485 -Dhadoop.log.dir=/var/log/hadoop/hive -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/hdp/2.3.4.0-3485/hadoop -Dhadoop.id.str=hive -Dhadoop.root.logger=INFO,console -Djava.library.path=:/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64:/usr/hdp/2.3.4.0-3485/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Xmx1024m -Xmx1203m -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /usr/hdp/2.3.4.0-3485/hive/lib/hive-service-1.2.1.2.3.4.0-3485.jar org.apache.hive.service.server.HiveServer2 --hiveconf hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar -hiveconf hive.metastore.uris=  -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=/var/log/hive&lt;/P&gt;&lt;P&gt;The hive view setting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11202-hiveview.png" style="width: 883px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23111i6A89DE9133361F43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11202-hiveview.png" alt="11202-hiveview.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:01:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115127#M50892</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2019-08-19T11:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115128#M50893</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 13:17:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115128#M50893</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-07T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115129#M50894</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;@chitrartha sur
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check your "hive-site.xml" property "hive.metastore.sasl.enabled" is set to "true" after enabling Kerberos?&lt;/P&gt;&lt;P&gt;Your ambari version seems to be too old 2.2.0 so it seems to be impacted with: &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-12257"&gt;https://issues.apache.org/jira/browse/AMBARI-12257&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15248/surchitrartha.html" nodeid="15248"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 13:42:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115129#M50894</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-07T13:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115130#M50895</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yes sasl is enabled as true in hive-site.xml.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 12:47:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115130#M50895</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-08T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to have view in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115131#M50896</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yes sasl is enabled as true in hive-site.xml. But it is still showing error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 12:43:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-have-view-in-kerberized-cluster/m-p/115131#M50896</guid>
      <dc:creator>surchitrartha</dc:creator>
      <dc:date>2017-01-09T12:43:34Z</dc:date>
    </item>
  </channel>
</rss>

