phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2890) Extend IndexTool to allow incremental index rebuilds
Date Thu, 08 Dec 2016 06:54:59 GMT

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

ASF GitHub Bot commented on PHOENIX-2890:
-----------------------------------------

Github user ankitsinghal commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/210#discussion_r91454910
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
---
    @@ -85,7 +102,7 @@
         private static final Option DATA_TABLE_OPTION = new Option("dt", "data-table", true,
                 "Data table name (mandatory)");
         private static final Option INDEX_TABLE_OPTION = new Option("it", "index-table",
true,
    -            "Index table name(mandatory)");
    +            "Index table name(not required in case of partial rebuilding)");
    --- End diff --
    
    This was taken care in the last commit.


> Extend IndexTool to allow incremental index rebuilds
> ----------------------------------------------------
>
>                 Key: PHOENIX-2890
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2890
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Minor
>             Fix For: 4.10.0
>
>         Attachments: PHOENIX-2890.patch, PHOENIX-2890_wip.patch
>
>
> Currently , IndexTool is used for initial index rebuild but I think we should extend
it to be used for recovering index from last disabled timestamp too. 
> In general terms if we run IndexTool on already existing/new index, then it should follow
the same semantics as followed by background Index rebuilding thread.



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

Mime
View raw message