[ https://issues.apache.org/jira/browse/HIVE-22334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated HIVE-22334: -------------------------------- Affects Version/s: 3.1.3 > There is a permission problem with the add jar package on the command line > -------------------------------------------------------------------------- > > Key: HIVE-22334 > URL: https://issues.apache.org/jira/browse/HIVE-22334 > Project: Hive > Issue Type: Bug > Affects Versions: 3.1.3 > Environment: hive 3.1 > Reporter: jiazhaoquan > Assignee: weizheng > Priority: Blocker > Attachments: 启动失败文档.jpg > > > The environment is ve3.0;Now add a jar package has the problem of removing > permissions, as follows; > >add jar > >/export/servers/hive-connector-0.9.0-SNAPSHOT-jar-with-dependencies.jar; > >Error: Error while processing statement: Permission denied: Principal > >[name=root, type=USER] does not have following privileges for operation ADD > >[ADMIN] (state=,code=1)` > > I have used Storage Based Authorization in the Metastore Server according to > the configuration;But the add jar package still has permissions issues;Put my > jar package into the lib file, and my hive started until it finally appeared > (closed on the command line).The problem log is in the attachment. > > 环境是hive3.0;现在add一个jar包出现去权限问题,如下; > >add jar > >/export/servers/hive-connector-0.9.0-SNAPSHOT-jar-with-dependencies.jar; > >Error: Error while processing statement: Permission denied: Principal > >[name=root, type=USER] does not have following privileges for operation ADD > >[ADMIN] (state=,code=1)` > 我已经根据配置使用了Storage Based Authorization in the Metastore Server;但是add > jar包还是有权限问题;将我的jar包放入lib文件,我的hive启动到最后出现(命令行出现closed),启动不了hive;问题在附件中; -- This message was sent by Atlassian Jira (v8.20.10#820010)