[ https://issues.apache.org/jira/browse/HIVE-8045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138869#comment-14138869 ]
Hive QA commented on HIVE-8045: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12669548/HIVE-8045.2.patch {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 6282 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.parse.TestParse.testParse_union org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.TestSQLStdHiveAccessControllerCLI.testAuthEnableError org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchAbort {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/858/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/858/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-858/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12669548 > SQL standard auth with cli - Errors and configuration issues > ------------------------------------------------------------ > > Key: HIVE-8045 > URL: https://issues.apache.org/jira/browse/HIVE-8045 > Project: Hive > Issue Type: Bug > Components: Authorization > Reporter: Jagruti Varia > Assignee: Thejas M Nair > Attachments: HIVE-8045.1.patch, HIVE-8045.2.patch > > > HIVE-7533 enabled sql std authorization to be set in hive cli (without > enabling authorization checks). This updates hive configuration so that > create-table and create-views set permissions appropriately for the owner of > the table. > HIVE-7209 added a metastore authorization provider that can be used to > restricts calls made to the authorization api, so that only HS2 can make > those calls (when HS2 uses embedded metastore). > Some issues were found with this. > # Even if hive.security.authorization.enabled=false, authorization checks > were happening for non sql statements as add/detete/dfs/compile, which > results in MetaStoreAuthzAPIAuthorizerEmbedOnly throwing an error. > # Create table from hive-cli ended up calling metastore server api call > (getRoles) and resulted in MetaStoreAuthzAPIAuthorizerEmbedOnly throwing an > error. > # Some users prefer to enable authorization using hive-site.xml for > hive-server2 (hive.security.authorization.enabled param). If this file is > shared by hive-cli and hive-server2, SQL std authorizer throws an error > because is use in hive-cli is not allowed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)