[ https://issues.apache.org/jira/browse/HIVE-10892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569616#comment-14569616 ]
Hive QA commented on HIVE-10892: -------------------------------- {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/12736972/HIVE-10892.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 8996 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx_cbo_2 {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4145/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4145/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4145/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12736972 - PreCommit-HIVE-TRUNK-Build > TestHCatClient should not accept external metastore param from > -Dhive.metastore.uris > ------------------------------------------------------------------------------------ > > Key: HIVE-10892 > URL: https://issues.apache.org/jira/browse/HIVE-10892 > Project: Hive > Issue Type: Bug > Components: Tests > Affects Versions: 1.2.0 > Reporter: Sushanth Sowmyan > Assignee: Sushanth Sowmyan > Priority: Minor > Attachments: HIVE-10892.patch > > > HIVE-10074 added the ability to specify a -Dhive.metastore.uris from the > commandline, so as to run the test against a deployed metastore. > However, because of the way HiveConf is written, this results in that > parameter always overriding any value specified in the conf passed into it > for instantiation, since it accepts System Var Overrides. This results in > some tests, notably those that attempt to connect between two metastores > (such as TestHCatClient#testPartitionRegistrationWithCustomSchema to fail. > Fixing this in HiveConf is not a good idea, since that behaviour is desired > for HiveConf. Fixing this in HCatUtil.getHiveConf doesn't really work either, > since that is a utility wrapper on HiveConf, and is supposed to behave > similarly. Thus, the fix for this then becomes something to use in all our > testcases, where we instantiate Configuration objects. It seems more > appropriate to change the parameter we use to specify test parameters then, > than to change each config object. > Thus, we should change semantics for running this test against an external > metastore by specifying the override in a different parameter name, say > test.hive.metastore.uris, instead of hive.metastore.uris, which has a > specific meaning. -- This message was sent by Atlassian JIRA (v6.3.4#6332)