hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-12158) Add methods to HCatClient for partition synchronization
Date Fri, 16 Dec 2016 12:08:58 GMT


Hive QA commented on HIVE-12158:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 10823 tests executed
*Failed tests:*
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=234)
TestVectorizedColumnReaderBase - did not produce a TEST-*.xml file (likely timed out) (batchId=251)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sample2] (batchId=5)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sample4] (batchId=15)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sample6] (batchId=61)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sample7] (batchId=60)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sample9] (batchId=38)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_sort_array] (batchId=59)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2] (batchId=135)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[metadataonly1] (batchId=150)

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

This message is automatically generated.

ATTACHMENT ID: 12830909 - PreCommit-HIVE-Build

> Add methods to HCatClient for partition synchronization
> -------------------------------------------------------
>                 Key: HIVE-12158
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: HCatalog
>    Affects Versions: 2.0.0
>            Reporter: David Maughan
>            Assignee: David Maughan
>            Priority: Minor
>              Labels: hcatalog
>         Attachments: HIVE-12158.2.patch
> We have a use case where we have a list of partitions that are created as a result of
a batch job (new or updated) outside of Hive and would like to synchronize them with the Hive
MetaStore. We would like to use the HCatalog {{HCatClient}} but it currently does not seem
to support this. However it is possible with the {{HiveMetaStoreClient}} directly. I am proposing
to add the following method to {{HCatClient}} and {{HCatClientHMSImpl}}:
> A method for altering partitions. The implementation would delegate to {{HiveMetaStoreClient#alter_partitions}}.
I've used "update" instead of "alter" in the name so it's consistent with the {{HCatClient#updateTableSchema}}
> {code}
> public void updatePartitions(List<HCatPartition> partitions) throws HCatException
> {code}

This message was sent by Atlassian JIRA

View raw message