<?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 After installing kerberos on ambari yarn does not work in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/After-installing-kerberos-on-ambari-yarn-does-not-work/m-p/321233#M228321</link>
    <description>&lt;P&gt;hello. I'm using on apache ambari 2.7.5.0 and hdp 3.1.4.0.&lt;/P&gt;
&lt;P&gt;After installing kerberos on ambari, hdfs, hive, and hbase were successfully authenticated using keytab and then used services.&lt;/P&gt;
&lt;P&gt;However, if I use yarn to run wordcount, I get an error. In the case of the file permission executing wordcount, the same was confirmed, and in the case of the user name authenticated using keytab, the same was confirmed.&lt;/P&gt;
&lt;P&gt;When running wordcount using yarn, the same error message as when yarn node -list -all is output is displayed. Below is the error message printed by 'yarn node -list -all.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;21/07/21 14:24:03 INFO retry.RetryInvocationHandler: java.io.IOException: DestHost:destPort hadoop1:8050 , LocalHost:localPort hadoop1/192.168.22.168:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS], while invoking ApplicationClientProtocolPBClientImpl.getClusterNodes over null after 24 failover attempts. Trying to failover after sleeping for 17666ms.
21/07/21 14:24:21 WARN ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i'm using a single node for ambari.&lt;/P&gt;
&lt;P&gt;Anyone know a solution to this problem?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 13:08:57 GMT</pubDate>
    <dc:creator>meenzoon</dc:creator>
    <dc:date>2021-07-21T13:08:57Z</dc:date>
    <item>
      <title>After installing kerberos on ambari yarn does not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/After-installing-kerberos-on-ambari-yarn-does-not-work/m-p/321233#M228321</link>
      <description>&lt;P&gt;hello. I'm using on apache ambari 2.7.5.0 and hdp 3.1.4.0.&lt;/P&gt;
&lt;P&gt;After installing kerberos on ambari, hdfs, hive, and hbase were successfully authenticated using keytab and then used services.&lt;/P&gt;
&lt;P&gt;However, if I use yarn to run wordcount, I get an error. In the case of the file permission executing wordcount, the same was confirmed, and in the case of the user name authenticated using keytab, the same was confirmed.&lt;/P&gt;
&lt;P&gt;When running wordcount using yarn, the same error message as when yarn node -list -all is output is displayed. Below is the error message printed by 'yarn node -list -all.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;21/07/21 14:24:03 INFO retry.RetryInvocationHandler: java.io.IOException: DestHost:destPort hadoop1:8050 , LocalHost:localPort hadoop1/192.168.22.168:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS], while invoking ApplicationClientProtocolPBClientImpl.getClusterNodes over null after 24 failover attempts. Trying to failover after sleeping for 17666ms.
21/07/21 14:24:21 WARN ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i'm using a single node for ambari.&lt;/P&gt;
&lt;P&gt;Anyone know a solution to this problem?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:08:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/After-installing-kerberos-on-ambari-yarn-does-not-work/m-p/321233#M228321</guid>
      <dc:creator>meenzoon</dc:creator>
      <dc:date>2021-07-21T13:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: After installing kerberos on ambari yarn does not work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/After-installing-kerberos-on-ambari-yarn-does-not-work/m-p/321402#M228385</link>
      <description>&lt;P&gt;I fixed this error.&lt;/P&gt;&lt;P&gt;1. 'yarn' user Authenticate to kerberos as yarn/[HOST_NAME]@[REALM].&lt;BR /&gt;2. &lt;STRONG&gt;YARN =&amp;gt; CONFIGS =&amp;gt; ADVANCED =&amp;gt;&lt;/STRONG&gt; &lt;STRONG&gt;Advanced container-executor =&amp;gt; container-executor-configuration-template &lt;/STRONG&gt;change the setting below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;banned.users=hdfs,mapred,bin
min.user.id={{min_user_id}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;3. &lt;STRONG&gt;YARN =&amp;gt; CONFIGS =&amp;gt; SETTINGS&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;- Set 'Memory-Node' to fit my node.&lt;/P&gt;&lt;P&gt;- Set 'Memory-Container-Minimum Container Size' to fiy my node.&lt;/P&gt;&lt;P&gt;- Set 'Memory-Container-Maximum Container Size' to fiy my node.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 08:41:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/After-installing-kerberos-on-ambari-yarn-does-not-work/m-p/321402#M228385</guid>
      <dc:creator>meenzoon</dc:creator>
      <dc:date>2021-07-23T08:41:05Z</dc:date>
    </item>
  </channel>
</rss>

