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

Mujtaba Chohan commented on PHOENIX-1112:
-----------------------------------------

[~jeffreyz] With your commit 
https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=3d69fa21123d182577a58bbc517d40ea9dc5a2cd
 and changes to pom.xml, project fails to build for hadoop2 profile.

{code}
mvn clean package -DskipTests -Dhadoop.profile=2
[INFO] Scanning for projects...
[ERROR] The build could not read 3 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.phoenix:phoenix-core:5.0.0-SNAPSHOT 
(/home/mchohan/Desktop/phoenixm/phoenix-core/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:jar is missing. @ line 433, column 21
[ERROR]   
[ERROR]   The project org.apache.phoenix:phoenix-hadoop-compat:5.0.0-SNAPSHOT 
(/home/mchohan/Desktop/phoenixm/phoenix-hadoop-compat/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:jar is missing. @ line 84, column 17
[ERROR]   
[ERROR]   The project org.apache.phoenix:phoenix-hadoop2-compat:5.0.0-SNAPSHOT 
(/home/mchohan/Desktop/phoenixm/phoenix-hadoop2-compat/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:jar is missing. @ line 40, column 17
{code}

> Atomically rebuild index partially when index update fails  
> ------------------------------------------------------------
>
>                 Key: PHOENIX-1112
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1112
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: Phoenix-1112-v2.patch, Phoenix-1112-v3.patch, 
> Phoenix-1112.patch
>
>
> This is a short-term work around & safe approach. Currently we disable an 
> index when index update failed(still possible bring down the whole cluster). 
> After an index is disable, human needs to be involved to rebuild entire index 
> which maybe not ideal.
> The patch adds the support to automatically rebuild an disable index 
> partially from where it failed. In addition, it removes RS abort during WAL 
> recovery to prevent chain failures because we don't have to.
> To disable automatically rebuilding failed index, add the following 
> configuration into hbase-site.xml:
> {noformat}
> <property>
>    <name>phoenix.index.failure.handling.rebuild</name>
>    <value>false</value>
> </property>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to