[ https://issues.apache.org/jira/browse/HIVE-7183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028872#comment-14028872 ]
Hive QA commented on HIVE-7183: ------------------------------- {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/12648924/HIVE-7183.patch {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 5535 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_union_remove_7 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas org.apache.hadoop.hive.conf.TestHiveConf.testConfProperties org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes org.apache.hive.hcatalog.templeton.tool.TestTempletonUtils.testPropertiesParsing {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/442/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/442/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-442/ 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: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12648924 > Size of partColumnGrants should be checked in ObjectStore#removeRole() > ---------------------------------------------------------------------- > > Key: HIVE-7183 > URL: https://issues.apache.org/jira/browse/HIVE-7183 > Project: Hive > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > Attachments: HIVE-7183.patch > > > Here is related code: > {code} > List<MPartitionColumnPrivilege> partColumnGrants = > listPrincipalAllPartitionColumnGrants( > mRol.getRoleName(), PrincipalType.ROLE); > if (tblColumnGrants.size() > 0) { > pm.deletePersistentAll(partColumnGrants); > {code} > Size of tblColumnGrants is currently checked. > Size of partColumnGrants should be checked instead. -- This message was sent by Atlassian JIRA (v6.2#6252)