hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-11534) Improve validateTableCols error message
Date Wed, 12 Aug 2015 17:04:45 GMT


Hive QA commented on HIVE-11534:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 9352 tests executed
*Failed tests:*
TestCustomAuthentication - did not produce a TEST-*.xml file

Test results:
Console output:
Test logs:

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: 8 tests failed

This message is automatically generated.

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

> Improve validateTableCols error message
> ---------------------------------------
>                 Key: HIVE-11534
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>            Priority: Minor
>         Attachments: HIVE-11534.patch
> For tables created without column definition in the DDL (but referencing the schema in
the underlying file format like Avro), ObjectStore.validateTableCols throws an exception that
doesn't include the table and db name.  This makes it tedious to lookup table name in schema
> Example:
> {code}
> ERROR org.apache.hadoop.hive.metastore.ObjectStore: Error retrieving statistics via jdo
> MetaException(message:Column wpp_mbrshp_hix_ik doesn't exist.)
> at org.apache.hadoop.hive.metastore.ObjectStore.validateTableCols(
> at org.apache.hadoop.hive.metastore.ObjectStore.getMTableColumnStatistics(
> at org.apache.hadoop.hive.metastore.ObjectStore.access$1000(
> at org.apache.hadoop.hive.metastore.ObjectStore$6.getJdoResult(
> at org.apache.hadoop.hive.metastore.ObjectStore$6.getJdoResult(
> {code}
> We should add database and the table name to the error message.

This message was sent by Atlassian JIRA

View raw message