在spark的uri上授予所有权限

frebpwbc  于 2021-06-26  发布在  Hive
关注(0)|答案(0)|浏览(232)

跑步时 hiveContext.sql("grant all on uri 'file:/path/to/file' to role 'public'"); 对于spark 1.6.2,我得到以下错误: org.apache.hadoop.hive.ql.parse.SemanticException: Hive authorization does not support the URI or SERVER objects .
有没有办法执行这个查询表单?我应该在查询之前向当前用户添加其他权限吗? Grant all on database 效果很好。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题