<?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: Can we pass custom kerberos ticket cache at sametime for different realms? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211359#M173301</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17097/prashanthramesh.html" nodeid="17097"&gt;@prashanth ramesh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can specify the cache file while doing kinit itself as below&lt;/P&gt;&lt;PRE&gt;[root@storm-h2 ~]# kinit -c /tmp/kafka.ticket -kt /etc/security/keytabs/kafka.service.keytab kafka/storm-h1@HDF.COM
[root@storm-h2 ~]# kinit -c /tmp/zk.ticket -kt /etc/security/keytabs/zk.service.keytab zookeeper/storm-h2@HDF.COM
[root@storm-h2 ~]#
[root@storm-h2 ~]# klist -c /tmp/kafka.ticket
Ticket cache: FILE:/tmp/kafka.ticket
Default principal: kafka/storm-h1@HDF.COM
Valid starting       Expires              Service principal
10/17/2017 17:03:00  10/18/2017 17:03:00  krbtgt/HDF.COM@HDF.COM
[root@storm-h2 ~]# klist -c /tmp/zk.ticket
Ticket cache: FILE:/tmp/zk.ticket
Default principal: zookeeper/storm-h2@HDF.COM
Valid starting       Expires              Service principal
10/17/2017 17:03:39  10/18/2017 17:03:39  krbtgt/HDF.COM@HDF.COM&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Oct 2017 00:09:51 GMT</pubDate>
    <dc:creator>nshetty</dc:creator>
    <dc:date>2017-10-18T00:09:51Z</dc:date>
    <item>
      <title>Can we pass custom kerberos ticket cache at sametime for different realms?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211358#M173300</link>
      <description>&lt;P&gt;I have a scenario where we have two clusters Development and production. I have an edge node where I can submit my jobs to both clusters, so every time I submit the jobs to two different clusters I have to kinit with the dev domain id to submit jobs to dev cluster and kinit with prod domain id to submit jobs for prod cluster. If a dev job is running from edgenode in meanwhile if cron triggers to kinit with prod ID and submit jobs, the running dev job fails with &lt;/P&gt;&lt;P&gt;Kerberos GSS exception failed Kerberos authentication error. &lt;/P&gt;&lt;P&gt;Is there any way I can pass custom ticket cache for two different realms at the same time to submit jobs from same edge node?&lt;/P&gt;&lt;P&gt;I went through Kerberos documentation it states everything runs based on login user basis and if someone kinit's in the middle it will update the default cache file /tmp/krb5c* itself.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 01:17:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211358#M173300</guid>
      <dc:creator>prashanth_rames</dc:creator>
      <dc:date>2017-10-12T01:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass custom kerberos ticket cache at sametime for different realms?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211359#M173301</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17097/prashanthramesh.html" nodeid="17097"&gt;@prashanth ramesh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can specify the cache file while doing kinit itself as below&lt;/P&gt;&lt;PRE&gt;[root@storm-h2 ~]# kinit -c /tmp/kafka.ticket -kt /etc/security/keytabs/kafka.service.keytab kafka/storm-h1@HDF.COM
[root@storm-h2 ~]# kinit -c /tmp/zk.ticket -kt /etc/security/keytabs/zk.service.keytab zookeeper/storm-h2@HDF.COM
[root@storm-h2 ~]#
[root@storm-h2 ~]# klist -c /tmp/kafka.ticket
Ticket cache: FILE:/tmp/kafka.ticket
Default principal: kafka/storm-h1@HDF.COM
Valid starting       Expires              Service principal
10/17/2017 17:03:00  10/18/2017 17:03:00  krbtgt/HDF.COM@HDF.COM
[root@storm-h2 ~]# klist -c /tmp/zk.ticket
Ticket cache: FILE:/tmp/zk.ticket
Default principal: zookeeper/storm-h2@HDF.COM
Valid starting       Expires              Service principal
10/17/2017 17:03:39  10/18/2017 17:03:39  krbtgt/HDF.COM@HDF.COM&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Oct 2017 00:09:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211359#M173301</guid>
      <dc:creator>nshetty</dc:creator>
      <dc:date>2017-10-18T00:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass custom kerberos ticket cache at sametime for different realms?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211360#M173302</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/6858/nshetty.html" nodeid="6858"&gt;@nshetty&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Thanks for the response I tried the above solution to run a hive job but it will pick up the ticket in default location i,e "/tmp/krb5cc", it would not pick up the custom location ticket "/tmp/kafka.ticket". &lt;/P&gt;&lt;P&gt;so how can i pass this custom ticket cache as part of hadoop commands? Is it possible to pass custome ticket cache as part of commands?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 00:54:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211360#M173302</guid>
      <dc:creator>prashanth_rames</dc:creator>
      <dc:date>2017-10-18T00:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass custom kerberos ticket cache at sametime for different realms?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211361#M173303</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17097/prashanthramesh.html" nodeid="17097"&gt;@prashanth ramesh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That you can set using environment variable KRB5CCNAME&lt;/P&gt;&lt;PRE&gt;Example: export KRB5CCNAME=/tmp/zk.ticket&lt;/PRE&gt;&lt;P&gt;Please accept the answer if your issue is solved&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 01:03:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211361#M173303</guid>
      <dc:creator>nshetty</dc:creator>
      <dc:date>2017-10-18T01:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can we pass custom kerberos ticket cache at sametime for different realms?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211362#M173304</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17097/prashanthramesh.html" nodeid="17097"&gt;@prashanth ramesh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please accept the answer if the solution worked for you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 12:48:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-pass-custom-kerberos-ticket-cache-at-sametime-for/m-p/211362#M173304</guid>
      <dc:creator>nshetty</dc:creator>
      <dc:date>2017-10-18T12:48:02Z</dc:date>
    </item>
  </channel>
</rss>

