<?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: &amp;quot;E090 HDFS020 Could not write file&amp;quot; error occurred in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134462#M97121</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14666/nasu.html" nodeid="14666"&gt;@Takashi Nasu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create the directory /user/admin under hdfs as below and then try running the query:&lt;/P&gt;&lt;P&gt;hdfs dfs -mkdir /user/admin&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R admin:admin /user/admin&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2016 18:44:19 GMT</pubDate>
    <dc:creator>ssubhas</dc:creator>
    <dc:date>2016-12-02T18:44:19Z</dc:date>
    <item>
      <title>"E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134460#M97119</link>
      <description>&lt;P&gt;Hi, I just installed Ranger from Ambari UI.&lt;/P&gt;&lt;P&gt;When I throw query, "E090 HDFS020 Could not write file" error occurred.
I already checked and applied the Support KB as follow:
&lt;A href="https://community.hortonworks.com/content/supportkb/49578/e090-hdfs020-could-not-write-file-useradminhivejob.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/content/supportkb/49578/e090-hdfs020-could-not-write-file-useradminhivejob.html&lt;/A&gt;
However, the error still exist.&lt;/P&gt;&lt;P&gt;Before Ranger was installed, there were no error like that.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10036-スクリーンショット-2016-12-02-191249.png" style="width: 2341px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22118iD63753F780A787BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10036-スクリーンショット-2016-12-02-191249.png" alt="10036-スクリーンショット-2016-12-02-191249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have no idea for this.
Cloud you please tell me what I should check?&lt;/P&gt;&lt;P&gt;Regards,
Takashi&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134460#M97119</guid>
      <dc:creator>nasu</dc:creator>
      <dc:date>2019-08-19T09:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134461#M97120</link>
      <description>&lt;P&gt;can you try creating a ranger hdfs policy for the admin user on resource  /user/admin with recursive true&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:32:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134461#M97120</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-12-02T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134462#M97121</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14666/nasu.html" nodeid="14666"&gt;@Takashi Nasu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create the directory /user/admin under hdfs as below and then try running the query:&lt;/P&gt;&lt;P&gt;hdfs dfs -mkdir /user/admin&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R admin:admin /user/admin&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:44:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134462#M97121</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-12-02T18:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134463#M97122</link>
      <description>&lt;P&gt;Thank you! /user/admin directory is as below:&lt;/P&gt;&lt;PRE&gt;[admin@ip-192-168-xxx ~]$ hdfs dfs -chown admin:admin /user/admin
[admin@ip-192-168-xxx ~]$ hdfs dfs -ls  /user/admin
Found 3 items
drwx------   - admin hdfs          0 2016-12-01 11:47 /user/admin/.Trash
drwxr-xr-x   - admin hdfs          0 2016-12-01 11:52 /user/admin/.hiveJars
drwxr-xr-x   - admin hdfs          0 2016-12-01 11:39 /user/admin/hive
&lt;/PRE&gt;&lt;P&gt;Ranger policy is as below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10037-ranger1.png"&gt;ranger1.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10038-ranger2.png"&gt;ranger2.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10039-ranger3.png"&gt;ranger3.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't understand what is the root cause...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 19:12:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134463#M97122</guid>
      <dc:creator>nasu</dc:creator>
      <dc:date>2016-12-02T19:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134464#M97123</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14666/nasu.html" nodeid="14666"&gt;@Takashi Nasu&lt;/A&gt;&lt;P&gt;Are you able to run the queries now? If yes, then issue could be missing HDFS directory and no Ranger policy in place.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 19:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134464#M97123</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-12-02T19:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134465#M97124</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt;&lt;P&gt;Sorry, I still have the issue. I'm getting the same error now...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 20:12:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134465#M97124</guid>
      <dc:creator>nasu</dc:creator>
      <dc:date>2016-12-02T20:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134466#M97125</link>
      <description>&lt;P&gt;Are you running Apache Atlas?  &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 03:24:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134466#M97125</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-01-12T03:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134467#M97126</link>
      <description>&lt;P&gt;Hi, I configured hadoop.proxyuser.root.hosts=* of HDFS configs in Ambari.&lt;/P&gt;&lt;P&gt;Then the issue was gone.&lt;/P&gt;&lt;P&gt;Thank you for everyone!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 09:03:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134467#M97126</guid>
      <dc:creator>nasu</dc:creator>
      <dc:date>2017-01-12T09:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134468#M97127</link>
      <description>&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;It also works for me.&lt;/P&gt;&lt;P&gt;I am using HDP 2.6.2 with Ambari 2.5,&lt;/P&gt;&lt;P&gt;After installing, the default proxy value is&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.hosts=ambari1.ec2.internal&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;After changing to &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.hosts=*&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Error is resolved.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 08:44:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134468#M97127</guid>
      <dc:creator>sso</dc:creator>
      <dc:date>2017-10-29T08:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134469#M97128</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14666/nasu.html" nodeid="14666"&gt;@Takashi Nasu&lt;/A&gt; is the issue resolved? I am having the similar issue. I tried all the above solution given by folks but still facing the same error. I do not have security installed in my system and i believe its just permission issue but couldnt able to identify where it could be. Can &lt;A rel="user" href="https://community.cloudera.com/users/505/dsharma.html" nodeid="505"&gt;@Deepak Sharma&lt;/A&gt; or any one help to resolve this please&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 20:08:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134469#M97128</guid>
      <dc:creator>sidatbigdata</dc:creator>
      <dc:date>2017-11-21T20:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: "E090 HDFS020 Could not write file" error occurred</title>
      <link>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134470#M97129</link>
      <description>&lt;P&gt;
	Hi, This issue was resolved by the settings as follows:&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.hosts=*&lt;/PRE&gt;&lt;P&gt;You can also see the answer on the below comment.&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/comments/144449/view.html" target="_blank"&gt;https://community.hortonworks.com/comments/144449/view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:34:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/quot-E090-HDFS020-Could-not-write-file-quot-error-occurred/m-p/134470#M97129</guid>
      <dc:creator>nasu</dc:creator>
      <dc:date>2017-11-22T13:34:08Z</dc:date>
    </item>
  </channel>
</rss>

