<?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: Oozie job failing due to Kerberos error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121103#M26494</link>
    <description>&lt;P&gt;If you are using Yarn, the Yarn gateway roles need to be provided to the workflow.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 02:27:53 GMT</pubDate>
    <dc:creator>cnormile</dc:creator>
    <dc:date>2016-04-29T02:27:53Z</dc:date>
    <item>
      <title>Oozie job failing due to Kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121102#M26493</link>
      <description>&lt;P&gt;Oozie java action is failing with below error. We have tried passing credentials from oozie as well as principal,keytab based authentication from driver using below config.&lt;/P&gt;&lt;PRE&gt;conf.set("hadoop.security.authentication", "kerberos");
conf.set("java.security.krb5.conf", "/etc/krb5.conf");
UserGroupInformation.setConfiguration(conf);
UserGroupInformation.loginUserFromKeytab("principal", "keytab");
&lt;/PRE&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], main() threw exception, java.io.IOException: Can't get Master Kerberos principal for use as renewer
org.apache.oozie.action.hadoop.JavaMainException: java.io.IOException: Can't get Master Kerberos principal for use as renewer
at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:58)
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:226)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:450)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Apr 2016 01:54:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121102#M26493</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-04-29T01:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie job failing due to Kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121103#M26494</link>
      <description>&lt;P&gt;If you are using Yarn, the Yarn gateway roles need to be provided to the workflow.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 02:27:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121103#M26494</guid>
      <dc:creator>cnormile</dc:creator>
      <dc:date>2016-04-29T02:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie job failing due to Kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121104#M26495</link>
      <description>&lt;P&gt;Adding HADOOP_TOKEN_FILE_LOCATION resolved the issue.&lt;/P&gt;&lt;P&gt;-D mapreduce.job.credentials.binary=$HADOOP_TOKEN_FILE_LOCATION&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 01:25:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121104#M26495</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-05-03T01:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie job failing due to Kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121105#M26496</link>
      <description>&lt;P&gt;how to provide Yarn gateway roles to the workflow ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 05:15:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121105#M26496</guid>
      <dc:creator>vuyyuru_sriniva</dc:creator>
      <dc:date>2016-07-21T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie job failing due to Kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121106#M26497</link>
      <description>&lt;P&gt;Did you have to keep below as well?&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;conf.set("hadoop.security.authentication","kerberos");&lt;/LI&gt;&lt;LI&gt;conf.set("java.security.krb5.conf","/etc/krb5.conf");&lt;/LI&gt;&lt;LI&gt;UserGroupInformation.setConfiguration(conf);&lt;/LI&gt;&lt;LI&gt;UserGroupInformation.loginUserFromKeytab("principal","keytab");&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 21 Jul 2016 05:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-job-failing-due-to-Kerberos-error/m-p/121106#M26497</guid>
      <dc:creator>vuyyuru_sriniva</dc:creator>
      <dc:date>2016-07-21T05:17:59Z</dc:date>
    </item>
  </channel>
</rss>

