[ 
https://issues.apache.org/jira/browse/HIVE-9749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332454#comment-14332454
 ] 

Hive QA commented on HIVE-9749:
-------------------------------



{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/12700120/HIVE-9749.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 7566 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_percentile_approx_23
org.apache.hadoop.hive.metastore.TestMetastoreVersion.testMetastoreVersion
org.apache.hadoop.hive.metastore.TestMetastoreVersion.testVersionMisMatch
org.apache.hadoop.hive.metastore.TestMetastoreVersion.testVersionRestriction
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2841/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2841/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2841/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12700120 - PreCommit-HIVE-TRUNK-Build

> ObjectStore schema verification logic is incorrect
> --------------------------------------------------
>
>                 Key: HIVE-9749
>                 URL: https://issues.apache.org/jira/browse/HIVE-9749
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.14.0, 0.13.1, 1.0.0, 1.1.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-9749.patch
>
>
> Specifically when the versions are the same, we still try and record a new 
> version:
> {code}
>       // metastore schema version is different than Hive distribution needs
>       if (strictValidation) {
>         if 
> (!schemaVer.equalsIgnoreCase(MetaStoreSchemaInfo.getHiveSchemaVersion())) {
>           throw new MetaException("Hive Schema version "
>               + MetaStoreSchemaInfo.getHiveSchemaVersion() +
>               " does not match metastore's schema version " + schemaVer +
>               " Metastore is not upgraded or corrupt");
>         } else {
>           LOG.warn("Metastore version was " + schemaVer + " " +
>               HiveConf.ConfVars.METASTORE_SCHEMA_VERIFICATION.toString() +
>               " is not enabled so recording the new schema version " +
>               MetaStoreSchemaInfo.getHiveSchemaVersion());
>           
> setMetaStoreSchemaVersion(MetaStoreSchemaInfo.getHiveSchemaVersion(),
>               "Set by MetaStore");
>         }
> {code}
> additionally an {{ObjectStore}} object is created for all clients. As such 
> we'll also make the verification complete flag static.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to