hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-17181) HCatOutputFormat should expose complete output-schema (including partition-keys) for dynamic-partitioning MR jobs
Date Thu, 27 Jul 2017 10:58:00 GMT


Hive QA commented on HIVE-17181:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 12 failed/errored test(s), 11006 tests executed
*Failed tests:*
TestPerfCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=235)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=144)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=100)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3] (batchId=99)
org.apache.hadoop.hive.metastore.TestHiveMetaStoreStatsMerge.testStatsMerge (batchId=206)
org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=179)
org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=179)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 12 tests failed

This message is automatically generated.

ATTACHMENT ID: 12879104 - PreCommit-HIVE-Build

> HCatOutputFormat should expose complete output-schema (including partition-keys) for
dynamic-partitioning MR jobs
> -----------------------------------------------------------------------------------------------------------------
>                 Key: HIVE-17181
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 2.2.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-17181.1.patch, HIVE-17181.branch-2.patch
> Map/Reduce jobs that use HCatalog APIs to write to Hive tables using Dynamic partitioning
are expected to call the following API methods:
> # {{HCatOutputFormat.setOutput()}} to indicate which table/partitions to write to. This
call populates the {{OutputJobInfo}} with details fetched from the Metastore.
> # {{HCatOutputFormat.setSchema()}} to indicate the output-schema for the data being written.
> It is a common mistake to invoke {{HCatOUtputFormat.setSchema()}} as follows:
> {code:java}
> HCatOutputFormat.setSchema(conf, HCatOutputFormat.getTableSchema(conf));
> {code}
> Unfortunately, {{getTableSchema()}} returns only the record-schema, not the entire table's
schema. We'll need a better API for use in M/R jobs to get the complete table-schema.

This message was sent by Atlassian JIRA

View raw message