<?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: Unable to create directory in HDFS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164439#M126806</link>
    <description>&lt;P&gt;@Artem Eevits , @&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;&lt;IMG src="https://ip1.i.lithium.com/95d26e4d1f1e4155a8d7d8ba01a9bd1560ef5e2c/68747470733a2f2f636f6d6d756e6974792e686f72746f6e776f726b732e636f6d2f75736572732f3134302f70686f746f2f766965772e68746d6c3f74696d653d3134343332303135313837363326733d3234" alt="avatar image" style="width: 24px;" /&gt;&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;Neeraj Sabharwal&lt;/A&gt;  I have 2 issues seems those are related to this problem. &lt;/P&gt;&lt;P&gt;1. I do not ahve upload button enabled &lt;/P&gt;&lt;P&gt;2. I am getting below error when I am trying to create tables.&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.view.utils.hdfs.HdfsApiException: HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-29_10-05/query.hql

org.apache.ambari.view.utils.hdfs.HdfsApiException: HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-29_10-05/query.hql
	at org.apache.ambari.view.utils.hdfs.HdfsUtil.putStringToFile(HdfsUtil.java:51)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.setupQueryFile(JobControllerImpl.java:326)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.setupQueryFileIfNotPresent(JobControllerImpl.java:252)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.afterCreation(JobControllerImpl.java:238)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobResourceManager.create(JobResourceManager.java:57)
	at org.apache.ambari.view.hive.resources.jobs.JobService.create(JobService.java:403)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/PRE&gt;</description>
    <pubDate>Tue, 01 Mar 2016 11:08:20 GMT</pubDate>
    <dc:creator>amitpoorab</dc:creator>
    <dc:date>2016-03-01T11:08:20Z</dc:date>
    <item>
      <title>Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164434#M126801</link>
      <description>&lt;P&gt;HI, I am not able to create directory into the root/user folder into the HDFS. I tried creating hdfs user with admin privileges but no luck. &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164434#M126801</guid>
      <dc:creator>amitpoorab</dc:creator>
      <dc:date>2016-03-01T10:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164435#M126802</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3084/amitpoorab.html" nodeid="3084"&gt;@Amit Sharma&lt;/A&gt;&lt;P&gt;  Whats the error?&lt;/P&gt;&lt;P&gt;su - hdfs&lt;/P&gt;&lt;P&gt;hdfs dfs -mkdir /tmp/test&lt;/P&gt;&lt;P&gt;Is your cluster up ? Please share more details on your environment. &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:23:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164435#M126802</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-01T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164436#M126803</link>
      <description>&lt;P&gt;see this &lt;A href="http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#mkdir" target="_blank"&gt;http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#mkdir&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:24:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164436#M126803</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-01T10:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164437#M126804</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3084/amitpoorab.html" nodeid="3084"&gt;@Amit Sharma&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;sudo -u hdfs hdfs dfs -mkdir /user/username
sudo -u hdfs hdfs dfs -chown -R username:hdfs /user/username&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:25:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164437#M126804</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-01T10:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164438#M126805</link>
      <description>&lt;P&gt;Thank you , I was able to create the directory but I am not sure what may be the reason behind "New Directroy" option is still disable.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:02:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164438#M126805</guid>
      <dc:creator>amitpoorab</dc:creator>
      <dc:date>2016-03-01T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164439#M126806</link>
      <description>&lt;P&gt;@Artem Eevits , @&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;&lt;IMG src="https://ip1.i.lithium.com/95d26e4d1f1e4155a8d7d8ba01a9bd1560ef5e2c/68747470733a2f2f636f6d6d756e6974792e686f72746f6e776f726b732e636f6d2f75736572732f3134302f70686f746f2f766965772e68746d6c3f74696d653d3134343332303135313837363326733d3234" alt="avatar image" style="width: 24px;" /&gt;&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;Neeraj Sabharwal&lt;/A&gt;  I have 2 issues seems those are related to this problem. &lt;/P&gt;&lt;P&gt;1. I do not ahve upload button enabled &lt;/P&gt;&lt;P&gt;2. I am getting below error when I am trying to create tables.&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.view.utils.hdfs.HdfsApiException: HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-29_10-05/query.hql

org.apache.ambari.view.utils.hdfs.HdfsApiException: HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-29_10-05/query.hql
	at org.apache.ambari.view.utils.hdfs.HdfsUtil.putStringToFile(HdfsUtil.java:51)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.setupQueryFile(JobControllerImpl.java:326)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.setupQueryFileIfNotPresent(JobControllerImpl.java:252)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.afterCreation(JobControllerImpl.java:238)
	at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobResourceManager.create(JobResourceManager.java:57)
	at org.apache.ambari.view.hive.resources.jobs.JobService.create(JobService.java:403)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:08:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164439#M126806</guid>
      <dc:creator>amitpoorab</dc:creator>
      <dc:date>2016-03-01T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create directory in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164440#M126807</link>
      <description>&lt;P&gt;@Artem Eevits , @&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;&lt;IMG src="https://ip1.i.lithium.com/95d26e4d1f1e4155a8d7d8ba01a9bd1560ef5e2c/68747470733a2f2f636f6d6d756e6974792e686f72746f6e776f726b732e636f6d2f75736572732f3134302f70686f746f2f766965772e68746d6c3f74696d653d3134343332303135313837363326733d3234" alt="avatar image" style="width: 24px;" /&gt;&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;Neeraj Sabharwal&lt;/A&gt; . Thank you both of you... I am all set..&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:15:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-create-directory-in-HDFS/m-p/164440#M126807</guid>
      <dc:creator>amitpoorab</dc:creator>
      <dc:date>2016-03-01T11:15:46Z</dc:date>
    </item>
  </channel>
</rss>

