<?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: Getting following exception when trying to run hive action through oozie. We are using oozie through hue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133735#M39557</link>
    <description>&lt;P&gt;&amp;lt;hive xmlns="uri:oozie:hive-action:0.2"&amp;gt;
  &amp;lt;job-tracker&amp;gt;http://example.com:8050&amp;lt;/job-tracker&amp;gt;
  &amp;lt;name-node&amp;gt;hdfs://example&amp;lt;/name-node&amp;gt;
  &amp;lt;job-xml&amp;gt;/user/test/hive-site.xml&amp;lt;/job-xml&amp;gt;
  &amp;lt;script&amp;gt;/user/test/test_dev.hql&amp;lt;/script&amp;gt;
  &amp;lt;file&amp;gt;/user/test/test_dev.hql#test_dev.hql&amp;lt;/file&amp;gt;
&amp;lt;/hive&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2016 18:47:37 GMT</pubDate>
    <dc:creator>chennuri_gouris</dc:creator>
    <dc:date>2016-09-02T18:47:37Z</dc:date>
    <item>
      <title>Getting following exception when trying to run hive action through oozie. We are using oozie through hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133733#M39555</link>
      <description>&lt;P&gt;java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:494)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
at org.apache.oozie.action.hadoop.HiveMain.runHive(HiveMain.java:306)
at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:290)
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:68)
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:241)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1533)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.&amp;lt;init&amp;gt;(RetryingMetaStoreClient.java:86)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:132)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:104)
at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3000)
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3019)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:475)
... 19 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1531)
... 25 more
Caused by: MetaException(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: GSS initiate failed
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316)
at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52)
at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:426)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.&amp;lt;init&amp;gt;(HiveMetaStoreClient.java:236)
at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.&amp;lt;init&amp;gt;(SessionHiveMetaStoreClient.java:74)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1531)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.&amp;lt;init&amp;gt;(RetryingMetaStoreClient.java:86)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:132)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:104)
at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3000)
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3019)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:475)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
at org.apache.oozie.action.hadoop.HiveMain.runHive(HiveMain.java:306)
at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:290)
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:68)
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:241)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:472)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.&amp;lt;init&amp;gt;(HiveMetaStoreClient.java:236)
at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.&amp;lt;init&amp;gt;(SessionHiveMetaStoreClient.java:74)
... 30 more&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:49:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133733#M39555</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2026-04-21T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting following exception when trying to run hive action through oozie. We are using oozie through hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133734#M39556</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please attach the workflow.xml for further look. From the exception, it looks like that you are trying to run the workflow.xml on secure cluster. So just ensure that you have specified the hcat credential profile before hive action node. Hcat credential must contain the Hive metastore URI and Hive Kerberos principal.&lt;/P&gt;&lt;P&gt;More details to specify the hcat credential profile is available at following link : &lt;A href="https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html" target="_blank"&gt;https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 17:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133734#M39556</guid>
      <dc:creator>pbishnoi</dc:creator>
      <dc:date>2016-09-02T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting following exception when trying to run hive action through oozie. We are using oozie through hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133735#M39557</link>
      <description>&lt;P&gt;&amp;lt;hive xmlns="uri:oozie:hive-action:0.2"&amp;gt;
  &amp;lt;job-tracker&amp;gt;http://example.com:8050&amp;lt;/job-tracker&amp;gt;
  &amp;lt;name-node&amp;gt;hdfs://example&amp;lt;/name-node&amp;gt;
  &amp;lt;job-xml&amp;gt;/user/test/hive-site.xml&amp;lt;/job-xml&amp;gt;
  &amp;lt;script&amp;gt;/user/test/test_dev.hql&amp;lt;/script&amp;gt;
  &amp;lt;file&amp;gt;/user/test/test_dev.hql#test_dev.hql&amp;lt;/file&amp;gt;
&amp;lt;/hive&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 18:47:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133735#M39557</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-09-02T18:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting following exception when trying to run hive action through oozie. We are using oozie through hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133736#M39558</link>
      <description>&lt;P&gt;This is a known issue. Please refer to this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://gethue.com/hadoop-tutorial-oozie-workflow-credentials-with-a-hive-action-with-kerberos/" target="_blank"&gt;http://gethue.com/hadoop-tutorial-oozie-workflow-credentials-with-a-hive-action-with-kerberos/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 00:00:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-following-exception-when-trying-to-run-hive-action/m-p/133736#M39558</guid>
      <dc:creator>ibhatt</dc:creator>
      <dc:date>2016-09-03T00:00:01Z</dc:date>
    </item>
  </channel>
</rss>

