<?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: [CDH 5.3] Hue uses wrong user to run query? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23381#M4335</link>
    <description>&lt;P&gt;Well, so my problem was kind'a linux related I guess., with file permissions I had 2 logical partitions which were mounted at / and /home. By default I had dir /dfs on / partition and when i was low with storage space i decided to create a new directory for dfs under /home. Of course I've made chown to hdfs user for this folder (as is for /dfs) but it gave me error from the first post.&lt;/P&gt;&lt;P&gt;After I resized partition size and left only one dir /dfs as a storage point for hdfs on node everything worked out fine.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2015 09:24:17 GMT</pubDate>
    <dc:creator>ive</dc:creator>
    <dc:date>2015-01-07T09:24:17Z</dc:date>
    <item>
      <title>[CDH 5.3] Hue uses wrong user to run query?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23187#M4333</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I've just set up an env of CDH 5.3 [from CM 5.3] and wanted to check some things with Hive. So i tried to use Hue to do it and I got this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error while compiling statement: FAILED: RuntimeException Cannot create staging directory 'hdfs://h1.t.pl:8020/jobs/input/customer/.hive-staging_hive_2014-12-30_21-48-01_539_4882491936626833078-1': Permission denied: user=admin, access=WRITE, inode="/jobs/input/customer":hdfs:supergroup:drwxrwxr-x &lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:257)&lt;/PRE&gt;&lt;P&gt;admin is an user i'm logged into hue webui - default user created with install of cloudera manager.&lt;/P&gt;&lt;P&gt;Is it configuration issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[edit]&lt;/P&gt;&lt;P&gt;tables were created from external files using query run through hue:&lt;/P&gt;&lt;PRE&gt;create external table customer (
  C_CUSTKEY int,
  C_NAME string,
  C_ADDRESS string,
  C_NATIONKEY int,
  C_PHONE string,
  C_ACCTBAL decimal(10,2),
  C_MKTSEGMENT string,
  C_COMMENT string
)
row format delimited fields terminated by '|' stored as textfile
location '/jobs/input/customer';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:59:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23187#M4333</guid>
      <dc:creator>ive</dc:creator>
      <dc:date>2026-04-21T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: [CDH 5.3] Hue uses wrong user to run query?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23189#M4334</link>
      <description>You seem to have a custom mapreduce.jobtracker.staging.root.dir:&lt;BR /&gt;/jobs/input/customer&lt;BR /&gt;&lt;BR /&gt;It means only 'hdfs' user can submit jobs. You could change it to 777&lt;BR /&gt;permissions. I think there is also a way to have one by user.&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2014 21:25:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23189#M4334</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2014-12-30T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: [CDH 5.3] Hue uses wrong user to run query?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23381#M4335</link>
      <description>&lt;P&gt;Well, so my problem was kind'a linux related I guess., with file permissions I had 2 logical partitions which were mounted at / and /home. By default I had dir /dfs on / partition and when i was low with storage space i decided to create a new directory for dfs under /home. Of course I've made chown to hdfs user for this folder (as is for /dfs) but it gave me error from the first post.&lt;/P&gt;&lt;P&gt;After I resized partition size and left only one dir /dfs as a storage point for hdfs on node everything worked out fine.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 09:24:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23381#M4335</guid>
      <dc:creator>ive</dc:creator>
      <dc:date>2015-01-07T09:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: [CDH 5.3] Hue uses wrong user to run query?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23391#M4336</link>
      <description>Thanks for reporting your solution!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jan 2015 15:53:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23391#M4336</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-01-07T15:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: [CDH 5.3] Hue uses wrong user to run query?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23397#M4337</link>
      <description>&lt;P&gt;Yeah, I always try to do that because I personally hate when I find a similar problem to mine and only a reply from the author that he managed to resolve&amp;nbsp;that already but doesn't explain how xP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ive&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 19:24:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-3-Hue-uses-wrong-user-to-run-query/m-p/23397#M4337</guid>
      <dc:creator>ive</dc:creator>
      <dc:date>2015-01-07T19:24:52Z</dc:date>
    </item>
  </channel>
</rss>

