You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/02/14 22:37:41 UTC

[jira] [Updated] (HIVE-15920) Implement a blocking version of a command to compact

     [ https://issues.apache.org/jira/browse/HIVE-15920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koifman updated HIVE-15920:
----------------------------------
    Description: 
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


  was:
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.



> Implement a blocking version of a command to compact
> ----------------------------------------------------
>
>                 Key: HIVE-15920
>                 URL: https://issues.apache.org/jira/browse/HIVE-15920
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)