权限创建外部Impala表

时间:2018-01-08 16:14:15

标签: impala hue

早上好,

尝试在Hue Impala查询编辑器中创建外部表时,我收到权限被拒绝错误。我需要在哪里做授权?

错误消息:

ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: CAUSED BY: MetaException: Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=impala, access=WRITE, inode="/user/ds":ds:ds:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:279)

这里的命令失败了:

create external table hdfs_timedim
(
  timedimkey INT,
   ampmname STRING,
   begin15minutehourminutesecondname STRING,
    creationauditjobcontrolid INT,
   end15minutehourminutesecondname STRING,
    hourminutesecondampmname STRING,
   hournumber INT,
   lastupdateauditjobcontrolid INT,
    militaryhourminutesecondname STRING,
   militaryhournumber INT,
   minutenumber INT,
   slotname STRING, 
  slotnumber INT,
   sqltime string
)
row format delimited fields terminated by ',' LINES TERMINATED BY '\n'
location '/xxx/timedim';

0 个答案:

没有答案