<?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 Need help on user and its access in HDFS for HDP2.5.0. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154081#M53035</link>
    <description>&lt;P&gt;Need help on user and its access in HDFS. &lt;/P&gt;&lt;P&gt;In HDP2.5 , while working on HDFS authorization with Apache Ranger, I found , am unable to change file permission as a root user. Can someone please help what would be the user and its default access credentials.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# hdfs dfs -ls /user
&lt;/P&gt;&lt;P&gt;Found 16 items
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - admin  hdfs  0 2017-01-11 08:28 /user/admin
&lt;/P&gt;&lt;P&gt;drwxrwx---  - ambari-qa  hdfs  0 2016-10-25 07:47 /user/ambari-qa
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - amy_ds  hdfs  0 2016-10-25 08:02 /user/amy_ds
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hbase  hdfs  0 2016-10-25 07:48 /user/hbase
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hcat  hdfs  0 2016-10-25 07:51 /user/hcat
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hive  hdfs  0 2017-01-19 13:25 /user/hive
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - holger_gov hdfs  0 2016-10-25 08:03 /user/holger_gov
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - livy  hdfs  0 2016-10-25 07:49 /user/livy
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - maria_dev  hdfs  0 2017-01-05 14:35 /user/maria_dev
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - oozie  hdfs  0 2016-10-25 07:52 /user/oozie
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - raj_ops  hdfs  0 2017-01-11 08:29 /user/raj_ops
&lt;/P&gt;&lt;P&gt;drwx------  - root  hdfs  0 2017-01-19 10:34 /user/root
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - spark  hdfs  0 2016-10-25 07:48 /user/spark
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - vz_all  hdfs  0 2017-01-12 10:58 /user/vz_all
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - vz_vdsi  hdfs  0 2017-01-19 14:18 /user/vz_vdsi
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - zeppelin  hdfs  0 2016-10-25 07:50 /user/zeppelin&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# hdfs dfs -chmod -R 700 /user/hive
17/01/31 12:11:18 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.setPermission over null. Not retrying because try once and fail.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied. &lt;STRONG&gt;user=root is not the owner of inode=hive&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.fs.FsShell.main(FsShell.java:350)
chmod: changing permissions of '/user/hive': Permission denied. user=root is not the owner of inode=hive
[root@sandbox ~]# exit&lt;/P&gt;&lt;P&gt;am trying to follow instructions  mentioned in below URL.&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/" target="_blank"&gt;http://hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 20:24:03 GMT</pubDate>
    <dc:creator>das_dineshk</dc:creator>
    <dc:date>2017-01-31T20:24:03Z</dc:date>
    <item>
      <title>Need help on user and its access in HDFS for HDP2.5.0.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154081#M53035</link>
      <description>&lt;P&gt;Need help on user and its access in HDFS. &lt;/P&gt;&lt;P&gt;In HDP2.5 , while working on HDFS authorization with Apache Ranger, I found , am unable to change file permission as a root user. Can someone please help what would be the user and its default access credentials.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# hdfs dfs -ls /user
&lt;/P&gt;&lt;P&gt;Found 16 items
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - admin  hdfs  0 2017-01-11 08:28 /user/admin
&lt;/P&gt;&lt;P&gt;drwxrwx---  - ambari-qa  hdfs  0 2016-10-25 07:47 /user/ambari-qa
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - amy_ds  hdfs  0 2016-10-25 08:02 /user/amy_ds
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hbase  hdfs  0 2016-10-25 07:48 /user/hbase
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hcat  hdfs  0 2016-10-25 07:51 /user/hcat
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - hive  hdfs  0 2017-01-19 13:25 /user/hive
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - holger_gov hdfs  0 2016-10-25 08:03 /user/holger_gov
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - livy  hdfs  0 2016-10-25 07:49 /user/livy
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - maria_dev  hdfs  0 2017-01-05 14:35 /user/maria_dev
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - oozie  hdfs  0 2016-10-25 07:52 /user/oozie
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - raj_ops  hdfs  0 2017-01-11 08:29 /user/raj_ops
&lt;/P&gt;&lt;P&gt;drwx------  - root  hdfs  0 2017-01-19 10:34 /user/root
&lt;/P&gt;&lt;P&gt;drwxrwxr-x  - spark  hdfs  0 2016-10-25 07:48 /user/spark
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - vz_all  hdfs  0 2017-01-12 10:58 /user/vz_all
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - vz_vdsi  hdfs  0 2017-01-19 14:18 /user/vz_vdsi
&lt;/P&gt;&lt;P&gt;drwxr-xr-x  - zeppelin  hdfs  0 2016-10-25 07:50 /user/zeppelin&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# hdfs dfs -chmod -R 700 /user/hive
17/01/31 12:11:18 WARN retry.RetryInvocationHandler: Exception while invoking ClientNamenodeProtocolTranslatorPB.setPermission over null. Not retrying because try once and fail.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied. &lt;STRONG&gt;user=root is not the owner of inode=hive&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.fs.FsShell.main(FsShell.java:350)
chmod: changing permissions of '/user/hive': Permission denied. user=root is not the owner of inode=hive
[root@sandbox ~]# exit&lt;/P&gt;&lt;P&gt;am trying to follow instructions  mentioned in below URL.&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/" target="_blank"&gt;http://hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:24:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154081#M53035</guid>
      <dc:creator>das_dineshk</dc:creator>
      <dc:date>2017-01-31T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on user and its access in HDFS for HDP2.5.0.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154082#M53036</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/14978/dasdineshk.html" nodeid="14978"&gt;@Dinesh Das&lt;/A&gt; Try running the chmod command as user 'hdfs':&lt;/P&gt;&lt;P&gt;su - hdfs -c 'hdfs dfs -chmod -R 700 /user/hive'&lt;/P&gt;&lt;P&gt;In HDFS, 'root' doesn't have any special access but the user 'hdfs' is considered a super-user so can read/write any file.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:41:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154082#M53036</guid>
      <dc:creator>tstebbens</dc:creator>
      <dc:date>2017-01-31T20:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on user and its access in HDFS for HDP2.5.0.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154083#M53037</link>
      <description>&lt;P&gt;Thank you Sir, much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 21:16:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-on-user-and-its-access-in-HDFS-for-HDP2-5-0/m-p/154083#M53037</guid>
      <dc:creator>das_dineshk</dc:creator>
      <dc:date>2017-01-31T21:16:29Z</dc:date>
    </item>
  </channel>
</rss>

