[ https://issues.apache.org/jira/browse/HIVE-7089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011356#comment-14011356 ]
Hive QA commented on HIVE-7089: ------------------------------- {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/12646959/HIVE-7089.patch {color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 5466 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_parquet_decimal1 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas org.apache.hadoop.hive.ql.exec.tez.TestTezTask.testSubmit org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimal org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalX org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer.testWriteDecimalXY org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/320/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/320/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-320/ 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: 9 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12646959 > StorageBasedAuthorizationProvider fails to allow non-admin users to create > databases in writable directories > ------------------------------------------------------------------------------------------------------------ > > Key: HIVE-7089 > URL: https://issues.apache.org/jira/browse/HIVE-7089 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Craig Condit > Attachments: HIVE-7089.patch > > > When attempting to create a database with a custom location and using > hive.security.authorizationmanager=org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider, > an AccessControlException is generated for the default warehouse location, > not the location which was given in the create database command. > {noformat} > hive> create database test LOCATION '/user/ccondit/test'; > > Authorization failed:java.security.AccessControlException: action WRITE not > permitted on path hdfs://example.com:8020/apps/hive/warehouse for user > ccondit. Use SHOW GRANT to get more details. > 14/05/19 09:50:59 ERROR ql.Driver: Authorization > failed:java.security.AccessControlException: action WRITE not permitted on > path hdfs://example.com:8020/apps/hive/warehouse for user ccondit. Use SHOW > GRANT to get more details. > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)