[ https://issues.apache.org/jira/browse/HIVE-12158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754256#comment-15754256
]
Hive QA commented on HIVE-12158:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12830909/HIVE-12158.2.patch
{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:*
{noformat}
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)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[stats_based_fetch_decision]
(batchId=151)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2608/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2608/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2608/
Messages:
{noformat}
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
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12830909 - PreCommit-HIVE-Build
> Add methods to HCatClient for partition synchronization
> -------------------------------------------------------
>
> Key: HIVE-12158
> URL: https://issues.apache.org/jira/browse/HIVE-12158
> 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}}
method.
> {code}
> public void updatePartitions(List<HCatPartition> partitions) throws HCatException
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|