[ https://issues.apache.org/jira/browse/HIVE-22334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955380#comment-16955380 ]
fanshilun commented on HIVE-22334: ---------------------------------- look at /tmp/$userName/hive.log for error detail, in hive-site.xml , this property (change org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory) <property> <name>hive.security.authorization.manager</name> <value>org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider</value> </property> > 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 > Environment: hive 3.1 > Reporter: jiazhaoquan > 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.3.4#803005)