<?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 i get this error when i try to create a directory on hdfs: in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-get-this-error-when-i-try-to-create-a-directory-on-hdfs/m-p/230271#M82561</link>
    <description>&lt;PRE&gt;Permission denied: user=admin, access=WRITE, inode="/user/d":hdfs:hdfs:drwxr-xr-x&lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:37:01 GMT</pubDate>
    <dc:creator>yadir97_ya</dc:creator>
    <dc:date>2022-09-16T13:37:01Z</dc:date>
    <item>
      <title>i get this error when i try to create a directory on hdfs:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-get-this-error-when-i-try-to-create-a-directory-on-hdfs/m-p/230271#M82561</link>
      <description>&lt;PRE&gt;Permission denied: user=admin, access=WRITE, inode="/user/d":hdfs:hdfs:drwxr-xr-x&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:37:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-get-this-error-when-i-try-to-create-a-directory-on-hdfs/m-p/230271#M82561</guid>
      <dc:creator>yadir97_ya</dc:creator>
      <dc:date>2022-09-16T13:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: i get this error when i try to create a directory on hdfs:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-get-this-error-when-i-try-to-create-a-directory-on-hdfs/m-p/230272#M82562</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/91394/yadir97ya.html" nodeid="91394"&gt;@yadir Aguilar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a permission issue. You need to give permissions on the folder to admin user or create directory as hdfs user&lt;/P&gt;&lt;PRE&gt;su hdfs
hdfs dfs -mkdir /user/d&lt;/PRE&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;PRE&gt;su hdfs
hdfs dfs -chown admin:admin /user/d&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you are using a kerberized environment, you should do a kinit with hdfs keytab and then run the above commands&lt;/P&gt;&lt;PRE&gt;kinit -kt /etc/security/keytabs/hdfs.headless.keytab {user-principal}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please "Accept" the answer if this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 23:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-get-this-error-when-i-try-to-create-a-directory-on-hdfs/m-p/230272#M82562</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-08-22T23:21:24Z</dc:date>
    </item>
  </channel>
</rss>

