<?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: Yarn Delegation Token in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164275#M41398</link>
    <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/3595/gbrahmi.html" nodeid="3595"&gt;@Gagan Brahmi&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;gt; Does this look to be related to the Kerberos ticket lifetime?
If this is happening every time, exactly after 10 hours, then it does look related. But I'd rather confirm before concluding.&lt;/P&gt;&lt;P&gt;&amp;gt; Is there a delegation token renewal for yarn? Or is it just the hdfs?
Yes, there is a delegation token renewal mechanism in YARN.&lt;/P&gt;&lt;P&gt;As for the clues on why YARN is removing the application every 10 hours, I'd look into Resource Manager log for any warning &amp;amp; error around the application ID (specially around 10 hour mark from job submission). Also what does application log say about this? Any error / warning?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3595/gbrahmi.html" nodeid="3595"&gt;&lt;/A&gt;  &lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2016 01:46:43 GMT</pubDate>
    <dc:creator>VR46</dc:creator>
    <dc:date>2016-09-26T01:46:43Z</dc:date>
    <item>
      <title>Yarn Delegation Token</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164274#M41397</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am facing a strange issue with the secure hadoop setup. The challenge is the kerberos ticket_lifetime which is 10 hours. This is different from the default behavior of 24h in general. Please note that the ticket_lifetime limit right now cannot be changed.&lt;/P&gt;&lt;P&gt;The job runs on YARN and it is seen that every 10 hours YARN remove the application. I believe this is related to the Delegation Token not getting renewed in timely manner. I don't see any reliable logs to make this determination.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Does this look to be related to the kerberos ticket lifetime?&lt;/P&gt;&lt;P&gt;Is there a delegation token renewal for yarn? Or is it just the hdfs?&lt;/P&gt;&lt;P&gt;Should I try to modify the value for dfs.namenode.delegation.token.renew-interval? Right now this value is set to 24h (86400000).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 00:25:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164274#M41397</guid>
      <dc:creator>gbrahmi</dc:creator>
      <dc:date>2016-09-22T00:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn Delegation Token</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164275#M41398</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/3595/gbrahmi.html" nodeid="3595"&gt;@Gagan Brahmi&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;gt; Does this look to be related to the Kerberos ticket lifetime?
If this is happening every time, exactly after 10 hours, then it does look related. But I'd rather confirm before concluding.&lt;/P&gt;&lt;P&gt;&amp;gt; Is there a delegation token renewal for yarn? Or is it just the hdfs?
Yes, there is a delegation token renewal mechanism in YARN.&lt;/P&gt;&lt;P&gt;As for the clues on why YARN is removing the application every 10 hours, I'd look into Resource Manager log for any warning &amp;amp; error around the application ID (specially around 10 hour mark from job submission). Also what does application log say about this? Any error / warning?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3595/gbrahmi.html" nodeid="3595"&gt;&lt;/A&gt;  &lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 01:46:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164275#M41398</guid>
      <dc:creator>VR46</dc:creator>
      <dc:date>2016-09-26T01:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn Delegation Token</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164276#M41399</link>
      <description>&lt;P&gt;This turns out to be an issue with something else in HAWQ 2.0.0. Since libhdfs3 and libyarn uses the same kerberos keyfile. The application was failing in the event there wasn't any activity through libyarn for long time which in turn meant that login() function wasn't called.&lt;/P&gt;&lt;P&gt;The problem is documented in &lt;A href="https://issues.apache.org/jira/browse/HAWQ-940" target="_blank"&gt;https://issues.apache.org/jira/browse/HAWQ-940&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue is identified and addressed.&lt;/P&gt;&lt;P&gt;Moreover, there wasn't anything in resource manager logs except for the container release logs.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 07:44:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-Delegation-Token/m-p/164276#M41399</guid>
      <dc:creator>gbrahmi</dc:creator>
      <dc:date>2016-09-26T07:44:33Z</dc:date>
    </item>
  </channel>
</rss>

