<?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 Yarn ATS Won't Start After Enabling Kerberos in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235858#M197671</link>
    <description>&lt;P&gt;After enabling Kerberos the Yarn ATS HBase Service quits working. Following the directions to destroy the service don't work due some sort of authentication issue. As you can see in my example I clearly have a Kerberos ticket for the yarn-ats users. I've also checked the Kerberos Mapping to ensure this principal is correct. I don't know what else to check.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](yarn-ats-hdp31_cluster@DEV.EXAMPLE.ORG)s/.*/yarn-ats/&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_1001
Default principal: yarn-ats-hdp31_cluster@DEV.EXAMPLE.ORG

Valid starting &amp;nbsp; &amp;nbsp; &amp;nbsp; Expires &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Service principal
03/15/2019 21:49:32 &amp;nbsp;03/16/2019 21:49:32 &amp;nbsp;krbtgt/DEV.EXAMPLE.ORG@DEV.EXAMPLE.ORG
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renew until 03/22/2019 21:49:32&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -start ats-hbase
19/03/15 21:49:41 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:41 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:41 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:41 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:42 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -stop ats-hbase
19/03/15 21:49:50 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:50 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:50 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:50 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:51 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -destroy ats-hbase
19/03/15 21:49:58 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:58 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:58 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:58 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:58 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;</description>
    <pubDate>Sat, 16 Mar 2019 09:39:15 GMT</pubDate>
    <dc:creator>sweeks</dc:creator>
    <dc:date>2019-03-16T09:39:15Z</dc:date>
    <item>
      <title>Yarn ATS Won't Start After Enabling Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235858#M197671</link>
      <description>&lt;P&gt;After enabling Kerberos the Yarn ATS HBase Service quits working. Following the directions to destroy the service don't work due some sort of authentication issue. As you can see in my example I clearly have a Kerberos ticket for the yarn-ats users. I've also checked the Kerberos Mapping to ensure this principal is correct. I don't know what else to check.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](yarn-ats-hdp31_cluster@DEV.EXAMPLE.ORG)s/.*/yarn-ats/&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_1001
Default principal: yarn-ats-hdp31_cluster@DEV.EXAMPLE.ORG

Valid starting &amp;nbsp; &amp;nbsp; &amp;nbsp; Expires &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Service principal
03/15/2019 21:49:32 &amp;nbsp;03/16/2019 21:49:32 &amp;nbsp;krbtgt/DEV.EXAMPLE.ORG@DEV.EXAMPLE.ORG
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renew until 03/22/2019 21:49:32&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -start ats-hbase
19/03/15 21:49:41 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:41 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:41 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:41 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:42 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -stop ats-hbase
19/03/15 21:49:50 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:50 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:50 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:50 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:51 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;&lt;PRE&gt;[yarn-ats@hdp31-edge ~]$ yarn app -destroy ats-hbase
19/03/15 21:49:58 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:58 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:58 INFO client.RMProxy: Connecting to ResourceManager at hdp31-mgt1.dev.example.org/10.0.3.52:8050
19/03/15 21:49:58 INFO client.AHSProxy: Connecting to Application History server at hdp31-mgt1.dev.example.org/10.0.3.52:10200
19/03/15 21:49:58 ERROR client.ApiServiceClient: Authentication required&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Mar 2019 09:39:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235858#M197671</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2019-03-16T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ATS Won't Start After Enabling Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235859#M197672</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Trying the equivalent with curl does this.&lt;/P&gt;&lt;PRE&gt;curl -k --negotiate -u: -H "Content-Type: application/json" -X PUT &lt;A href="http://hdp31-mgt1.dev.example.org:8088/app/v1/services/ats-hbase" target="_blank"&gt;http://hdp31-mgt1.dev.example.org:8088/app/v1/services/ats-hbase&lt;/A&gt; -d '{ &amp;nbsp;"state": "STARTED"}'&lt;/PRE&gt;&lt;PRE&gt;{"diagnostics":"Kerberos principal or keytab is missing."}&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Mar 2019 10:20:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235859#M197672</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2019-03-16T10:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ATS Won't Start After Enabling Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235860#M197673</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Finally managed to delete app via curl command and Ambari recreated it after a restart. Still not able to use any of the yarn app commands while logged in with the yarn-ats keytab /etc/security/keytabs/yarn-ats.hbase-client.headless.keytab. Ambari still complains that ATS HBase isn't up but the logs in Yarn for the hbase app look like it's started.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Mar 2019 11:15:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235860#M197673</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2019-03-16T11:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ATS Won't Start After Enabling Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235861#M197674</link>
      <description>&lt;P&gt;I've figured out part of the issue. For some reason all of the yarn app -status type commands are using the yarn_jaas.conf by default which directs it to use the &lt;A rel="noopener noreferrer noopener noreferrer" href="mailto:rm/_HOST@DOMAIN.COM" target="_blank"&gt;rm/_HOST@DOMAIN.COM&lt;/A&gt; keytab. If I set it to use the zookeeper_client_jaas.conf which is just a generic jaas directing at your clients kerberos cache everything works fine. This seems like a bug as the client is never going to be able to use yarn_jaas.conf.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;export HADOOP_OPTS='-Djava.security.auth.login.config=/etc/zookeeper/conf/zookeeper_client_jaas.conf'&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Mar 2019 23:14:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235861#M197674</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2019-03-16T23:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ATS Won't Start After Enabling Kerberos</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235862#M197675</link>
      <description>&lt;P&gt;And finally typing out the answer for the fourth time since I keep getting logged out. Ambari is setting rm_security_opts in yarn-env.sh to include yarn_jaas.conf. This is incorrect and breaks the yarn app commands. Commenting out that section and restarting yarn makes everything work correctly.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2019 23:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-ATS-Won-t-Start-After-Enabling-Kerberos/m-p/235862#M197675</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2019-03-16T23:51:25Z</dc:date>
    </item>
  </channel>
</rss>

