小编ska*_*yam的帖子

Hive更改位置声明不起作用

hive> alter table my_table_name set location "hdfs://nameservice1/foo";
OK
Time taken: 0.173 seconds
hive> alter table my_table_name set location "hdfs://nameservice1/foo/bar";
Authorization failed:org.apache.hadoop.security.AccessControlException: action WRITE not permitted on path hdfs://nameservice1/foo for user hadoop_user. Use show grant to get more details.
Run Code Online (Sandbox Code Playgroud)

如上面的屏幕输出所示,alter table位置在外部表上只运行一次,然后抛出错误.请告诉我如何使alter table location语句起作用.

hive

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

hive ×1