<?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: please help understand Ranger security in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140780#M48137</link>
    <description>&lt;P&gt;yes I see the user 'sami' there  , please see the screenshot below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10166-capture.jpg" style="width: 1535px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21743i7019D6BBC1B4701B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10166-capture.jpg" alt="10166-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 08:17:31 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2019-08-19T08:17:31Z</dc:date>
    <item>
      <title>please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140774#M48131</link>
      <description>&lt;P&gt;I have given myself full rights on both HDFS and HIVE , yet for some reason I can't connect to HIVE using my ticket 'sami' but if grant myself a 'hive' ticket then I can get into hive . Why ?&lt;/P&gt;&lt;PRE&gt;-bash-4.1$ klist
Ticket cache: FILE:/tmp/krb5cc_600
Default principal: sami@TMY.COM
Valid starting     Expires            Service principal
12/06/16 19:57:32  12/07/16 19:57:32  krbtgt/TMY.COM@TMY.COM
        renew until 12/06/16 19:57:32
-bash-4.1$
-bash-4.1$
-bash-4.1$ 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_1481054355280_0003 failed 2 times due to AM Container for appattempt_1481054355280_0003_000002 exited with  exitCode: -1000
For more detailed output, check the application tracking page: &lt;A href="http://hadoop2.my.com:8088/cluster/app/application_1481054355280_0003" target="_blank"&gt;http://hadoop2.my.com:8088/cluster/app/application_1481054355280_0003&lt;/A&gt; Then click on links to logs of each attempt.
Diagnostics: Application application_1481054355280_0003 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is sami
main : requested yarn user is sami
User sami 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_1481054355280_0003 failed 2 times due to AM Container for appattempt_1481054355280_0003_000002 exited with  exitCode: -1000
For more detailed output, check the application tracking page: &lt;A href="http://hadoop2.my.com:8088/cluster/app/application_1481054355280_0003" target="_blank"&gt;http://hadoop2.my.com:8088/cluster/app/application_1481054355280_0003&lt;/A&gt; Then click on links to logs of each attempt.
Diagnostics: Application application_1481054355280_0003 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is sami
main : requested yarn user is sami
User sami not found
Failing this attempt. Failing the application.
        at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:779)
        at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:217)
        at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:117)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:533)
        ... 8 more
-bash-4.1$
-bash-4.1$
-bash-4.1$ id
uid=600(sami) gid=600(sami) groups=600(sami),501(hadoop)
-bash-4.1$ klist
Ticket cache: FILE:/tmp/krb5cc_600
Default principal: sami@TMY.COM
Valid starting     Expires            Service principal
12/06/16 19:57:32  12/07/16 19:57:32  krbtgt/TMY.COM@TMY.COM
        renew until 12/06/16 19:57:32
-bash-4.1$ kinit hive
Password for hive@TMY.COM:
-bash-4.1$
-bash-4.1$
-bash-4.1$ hive
Logging initialized using configuration in file:/etc/hive/2.5.0.0-1245/0/hive-log4j.properties
hive&amp;gt;

&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:07:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140774#M48131</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-07T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140775#M48132</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looking at the output, it says "User sami not found".  Where is user "sami" defined?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:18:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140775#M48132</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-12-07T09:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140776#M48133</link>
      <description>&lt;P&gt;user 'sami' is unix user as well as the KDC  ,that's why I can do "kinit sami"  &lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 09:20:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140776#M48133</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-07T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140777#M48134</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt; can you verify you have run ranger ldap sync.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 12:52:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140777#M48134</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-12-07T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140778#M48135</link>
      <description>&lt;P&gt;check whether usersync has happened properly ? , check it in ranger usersync logs or ranger ui setting --&amp;gt; users page , there do you see sami user?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:36:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140778#M48135</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-12-07T17:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140779#M48136</link>
      <description>&lt;P&gt;iam not using LDAP &lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 05:02:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140779#M48136</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-08T05:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140780#M48137</link>
      <description>&lt;P&gt;yes I see the user 'sami' there  , please see the screenshot below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10166-capture.jpg" style="width: 1535px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21743i7019D6BBC1B4701B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10166-capture.jpg" alt="10166-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:17:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140780#M48137</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140781#M48138</link>
      <description>&lt;P&gt;Make user "sami" belongs to hdfs group and then  try hive command line.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 05:11:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140781#M48138</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-12-08T05:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140782#M48139</link>
      <description>&lt;P&gt;where ? on Linux like below ? &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;hdfs:x:504:hdfs,sami  &lt;/P&gt;&lt;P&gt;tried the above but same error&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 05:37:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140782#M48139</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-08T05:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: please help understand Ranger security</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140783#M48140</link>
      <description>&lt;P&gt;ah it  needed an account on the hadoop2 server since hiveserver2 is running there. I created 'sami' on hadoop2 and added it to the hadoop group and then  I can use hive using my ticket. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 05:58:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/please-help-understand-Ranger-security/m-p/140783#M48140</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-08T05:58:22Z</dc:date>
    </item>
  </channel>
</rss>

