<?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 Permission denied write group access help in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154659#M48981</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10326-hdfs-group-write-issue.jpg" style="width: 901px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20983iC3EEFD2C4A35D1C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10326-hdfs-group-write-issue.jpg" alt="10326-hdfs-group-write-issue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm a new user of HDP2.3. I have setup a cluster of 3 nodes (one name node and 2 datanodes).&lt;/P&gt;&lt;P&gt;How come linux user xdl &amp;lt;group:hadoop&amp;gt; can't write to hdfs directory /xdl/tests, owned by the exact same group hadoop?&lt;/P&gt;&lt;P&gt;Please help me to understand.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:51:24 GMT</pubDate>
    <dc:creator>2309188136</dc:creator>
    <dc:date>2022-09-16T10:51:24Z</dc:date>
    <item>
      <title>Permission denied write group access help</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154659#M48981</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10326-hdfs-group-write-issue.jpg" style="width: 901px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20983iC3EEFD2C4A35D1C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10326-hdfs-group-write-issue.jpg" alt="10326-hdfs-group-write-issue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm a new user of HDP2.3. I have setup a cluster of 3 nodes (one name node and 2 datanodes).&lt;/P&gt;&lt;P&gt;How come linux user xdl &amp;lt;group:hadoop&amp;gt; can't write to hdfs directory /xdl/tests, owned by the exact same group hadoop?&lt;/P&gt;&lt;P&gt;Please help me to understand.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:51:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154659#M48981</guid>
      <dc:creator>2309188136</dc:creator>
      <dc:date>2022-09-16T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied write group access help</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154660#M48982</link>
      <description>&lt;P&gt;sudo su - hdfs, then execute your commands. the xdl3 user does not have write access to /xdl/tmp directory.&lt;/P&gt;&lt;P&gt;Also i hope you dont have any acls setup.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 05:07:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154660#M48982</guid>
      <dc:creator>sbomma</dc:creator>
      <dc:date>2016-12-16T05:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied write group access help</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154661#M48983</link>
      <description>&lt;P&gt;Run "hdfs groups xdl3" ... this will show you the hdfs groups associated with that user.  If xdl3 is not in the hadoop group in hdfs, then it will not be able to write under that directory.&lt;/P&gt;&lt;P&gt;To sync hdfs group mappings with linux group mappings:&lt;/P&gt;&lt;P&gt;1. Run "sudo useradd &amp;lt;username&amp;gt; -g &amp;lt;hadoop_gid&amp;gt;" on all 3 hadoop servers&lt;/P&gt;&lt;P&gt;2. Run "hdfs dfsadmin -refreshUserToGroupsMappings" on one of the servers&lt;/P&gt;&lt;P&gt;3. Run "hdfs groups xdl3" to view the change&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 06:37:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154661#M48983</guid>
      <dc:creator>srementer</dc:creator>
      <dc:date>2016-12-16T06:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Permission denied write group access help</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154662#M48984</link>
      <description>&lt;P&gt;Thanks for the workaround. This has solved my group-access problem.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 11:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-denied-write-group-access-help/m-p/154662#M48984</guid>
      <dc:creator>2309188136</dc:creator>
      <dc:date>2016-12-16T11:41:57Z</dc:date>
    </item>
  </channel>
</rss>

