<?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: User oraggs_cdhdev1 does not have privileges for CREATETABLE in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-oraggs-cdhdev1-does-not-have-privileges-for-CREATETABLE/m-p/47818#M45074</link>
    <description>Hi JOL,&lt;BR /&gt;&lt;BR /&gt;The user needs write permissions on the HDFS directory to be able to create the table.</description>
    <pubDate>Tue, 22 Nov 2016 12:06:19 GMT</pubDate>
    <dc:creator>attilabukor</dc:creator>
    <dc:date>2016-11-22T12:06:19Z</dc:date>
    <item>
      <title>User oraggs_cdhdev1 does not have privileges for CREATETABLE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-oraggs-cdhdev1-does-not-have-privileges-for-CREATETABLE/m-p/46889#M45073</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create an external table in hive:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE external TABLE emp(tran_flag string, tab_name string,tran_time_utc timestamp, tran_time_loc string,something string,EMPNO INT, ENAME string,JOB string,MGR INT,HIREDATE string,SAL INT,COMM INT,DEPTNO INT)ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' stored as textfile location '/user/oraggs_cdhdev1/d551/bdtest.emp';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User oraggs_cdhdev1 does not have privileges for CREATETABLE&lt;BR /&gt;The required privileges: Server=server1-&amp;gt;URI=hdfs://hostname/user/oraggs_cdhdev1/d551/bdtest.emp-&amp;gt;action=*;), Query: CREATE external TABLE emp(tran_flag string, tab_name string,tran_time_utc timestamp, tran_time_loc string,something string,EMPNO INT, ENAME string,JOB string,MGR INT,HIREDATE string,SAL INT,COMM INT,DEPTNO INT)ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' stored as textfile location '/user/oraggs_cdhdev1/d551/bdtest.emp'. (state=HY000,code=500051)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+----------------------------+--------+------------+---------+------------------+-----------------+------------+---------------+-------------------+----------+--+&lt;BR /&gt;| database | table | partition | column | principal_name | principal_type | privilege | grant_option | grant_time | grantor |&lt;BR /&gt;+----------------------------+--------+------------+---------+------------------+-----------------+------------+---------------+-------------------+----------+--+&lt;BR /&gt;| ggpoc | | | | goldengate_role | ROLE | * | 0 | 1476476669810000 | -- |&lt;BR /&gt;| default | | | | goldengate_role | ROLE | select | 0 | 1459868647133000 | -- |&lt;BR /&gt;| /user/oraggs_cdhdev1/d551 | | | | goldengate_role | ROLE | * | 0 | 1478092671457000 | -- |&lt;BR /&gt;+----------------------------+--------+------------+---------+------------------+-----------------+------------+---------------+-------------------+----------+--+&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what else&amp;nbsp;&lt;SPAN&gt;privileges needs to be given&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:46:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-oraggs-cdhdev1-does-not-have-privileges-for-CREATETABLE/m-p/46889#M45073</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2022-09-16T10:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: User oraggs_cdhdev1 does not have privileges for CREATETABLE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-oraggs-cdhdev1-does-not-have-privileges-for-CREATETABLE/m-p/47818#M45074</link>
      <description>Hi JOL,&lt;BR /&gt;&lt;BR /&gt;The user needs write permissions on the HDFS directory to be able to create the table.</description>
      <pubDate>Tue, 22 Nov 2016 12:06:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/User-oraggs-cdhdev1-does-not-have-privileges-for-CREATETABLE/m-p/47818#M45074</guid>
      <dc:creator>attilabukor</dc:creator>
      <dc:date>2016-11-22T12:06:19Z</dc:date>
    </item>
  </channel>
</rss>

