You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/04 05:12:45 UTC

[jira] [Commented] (TAJO-1673) Implement recover partitions

    [ https://issues.apache.org/jira/browse/TAJO-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730251#comment-14730251 ] 

ASF GitHub Bot commented on TAJO-1673:
--------------------------------------

Github user blrunner commented on the pull request:

    https://github.com/apache/tajo/pull/626#issuecomment-137636805
  
    I added codes to check existing partitions from CatalogStore before adding missing partitions.


> Implement recover partitions
> ----------------------------
>
>                 Key: TAJO-1673
>                 URL: https://issues.apache.org/jira/browse/TAJO-1673
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: Catalog
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> Tajo stores a list of partitions for each table in its CatalogStore. If, however, new partitions are directly added to HDFS, the CatalogStore will not be aware of these partitions unless the user runs ALTER TABLE table_name ADD PARTITION commands on each of the newly added partitions.
> However, users can run a CatalogStore check command with the repair table option:
> {code:xml}
> MSCK REPAIR TABLE <table_name>
> {code}
> For the reference, I've referenced hive msck command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)