<?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: user not found error when invoking hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109634#M50685</link>
    <description>&lt;P&gt;thank you that exactly was the issue, I added the user to all the nodes of the cluster and now hive works.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 02:57:09 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2017-01-04T02:57:09Z</dc:date>
    <item>
      <title>user not found error when invoking hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109631#M50682</link>
      <description>&lt;P&gt;hive works fine under other accounts but when invoked under "sugu" account gives error as shown below even though I have a Kerberos ticket for it and this account is also in ambari and also belongs to the unix hadoop group.&lt;/P&gt;&lt;PRE&gt;[root@hadoop1 ~]# su - sugu
[sugu@hadoop1 ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_602
Default principal: sugu@ABC.COM
Valid starting     Expires            Service principal
01/03/17 11:07:17  01/04/17 11:07:17  krbtgt/ABC.COM@ABC.COM
        renew until 01/03/17 11:07:17
[sugu@hadoop1 ~]$ hive
Logging initialized using configuration in file:/etc/hive/2.5.0.0-1245/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1482968526131_0010 failed 2 times due to AM Container for appattempt_1482968526131_0010_000002 exited with  exitCode: -1000
For more detailed output, check the application tracking page: &lt;A href="http://hadoop2.abc.com:8088/cluster/app/application_1482968526131_0010" target="_blank"&gt;http://hadoop2.abc.com:8088/cluster/app/application_1482968526131_0010&lt;/A&gt; Then click on links to logs of each attempt.
Diagnostics: Application application_1482968526131_0010 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is sugu
main : requested yarn user is sugu
User sugu not found
Failing this attempt. Failing the application.
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:536)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1482968526131_0010 failed 2 times due to AM Container for appattempt_1482968526131_0010_000002 exited with  exitCode: -1000
For more detailed output, check the application tracking page: &lt;A href="http://hadoop2.abc.com:8088/cluster/app/application_1482968526131_0010" target="_blank"&gt;http://hadoop2.abc.com:8088/cluster/app/application_1482968526131_0010&lt;/A&gt; Then click on links to logs of each attempt.
Diagnostics: Application application_1482968526131_0010 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is sugu
main : requested yarn user is sugu
User sugu not found

&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jan 2017 00:25:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109631#M50682</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-01-04T00:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: user not found error when invoking hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109632#M50683</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;P&gt;Can you make sure if the user is present on all nodes in the cluster?&lt;/P&gt;&lt;P&gt;Suspected that the application where its running on the node the user sugu is not present.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 00:27:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109632#M50683</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-01-04T00:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: user not found error when invoking hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109633#M50684</link>
      <description>&lt;P&gt;Also is sugu ldap/AD user? or local user?&lt;/P&gt;&lt;P&gt;Can you check the uid and gid for the user on all nodes and confirm if its same across all nodes?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 00:35:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109633#M50684</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-01-04T00:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: user not found error when invoking hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109634#M50685</link>
      <description>&lt;P&gt;thank you that exactly was the issue, I added the user to all the nodes of the cluster and now hive works.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:57:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-not-found-error-when-invoking-hive/m-p/109634#M50685</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2017-01-04T02:57:09Z</dc:date>
    </item>
  </channel>
</rss>

