hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-15920) Implement a blocking version of a command to compact
Date Mon, 06 Mar 2017 18:57:32 GMT


Hive QA commented on HIVE-15920:

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 3 failed/errored test(s), 10328 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments] (batchId=229)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vector_between_in] (batchId=119)

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

This message is automatically generated.

ATTACHMENT ID: 12856318 - PreCommit-HIVE-Build

> Implement a blocking version of a command to compact
> ----------------------------------------------------
>                 Key: HIVE-15920
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-15920.01.patch, HIVE-15920.02.patch
> currently 
> {noformat}
> alter table AcidTable compact 'major'
> {noformat} 
> is supported which enqueues a msg to compact.
> Would be nice for testing and script building to support 
> {noformat} 
> alter table AcidTable compact 'major' blocking
> {noformat} 
> perhaps another variation is to block until either compaction is done or until cleaning
is finished.
> DDLTask.compact() gets a request id back so it can then just block and wait for it using
some new API
> may also be useful to let users compact all partitions but only if  a separate queue
has been set up for compaction jobs.
> The later is because with a 1M partition table, this may create very many jobs and saturate
the cluster.
> This probably requires HIVE-12376 to make sure the compaction queue does the throttling,
not the number of worker threads

This message was sent by Atlassian JIRA

View raw message