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

Rajeshbabu Chintaguntla edited comment on PHOENIX-4239 at 10/1/17 2:38 AM:
---------------------------------------------------------------------------

bq. Rajeshbabu Chintaguntla? How will the online region test typically perform 
on a real cluster? Will we get false positives?
James in the real clusters region online check done by looking at master UI 
which gives any regions in transition to open or run HBase Hbck on a table to 
check any inconsistencies in the table(this gives regions in failed to open or 
in transition also). In both the cause HBaseAdmin#getClusterStatus() will be 
called. This gives the details about the regions in transition in the cluster 
but not specific to table. This can give false positives when the regions 
assigned to region servers but still yet to remove from the transition list. 
I think we can make use of it and find specific patterns like any regions in 
FAILED_OPEN or FAILED_CLOSE states which means the region won't be assigned for 
longer (some times need manual intervention) otherwise the regions will be 
quickly assigned in fraction of seconds and we are fine to continue rebuilding.


was (Author: rajeshbabu):
bq. Rajeshbabu Chintaguntla? How will the online region test typically perform 
on a real cluster? Will we get false positives?
James in the real clusters region online check done by looking at master UI 
which gives any regions in transition to open or run HBase Hbck on a table to 
check any inconsistencies in the table(this gives regions in failed to open or 
in transition also). In both the cause HBaseAdmin#getClusterStatus() will be 
called. This gives the details about the regions in transition in the cluster 
but not specific to table. 

> Fix flapping test in PartialIndexRebuilderIT
> --------------------------------------------
>
>                 Key: PHOENIX-4239
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4239
>             Project: Phoenix
>          Issue Type: Test
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 4.12.0
>
>         Attachments: PHOENIX-4239.patch, PHOENIX-4239_v2.patch, 
> PHOENIX-4239_v3.patch, PHOENIX-4239_v4.patch, PHOENIX-4239_v5.patch
>
>
> To get more info on this flapper: 
> https://www.google.com/url?q=https%3A%2F%2Fbuilds.apache.org%2Fjob%2FPhoenix-master%2F1810%2FtestReport%2Fjunit%2Forg.apache.phoenix.end2end.index%2FPartialIndexRebuilderIT%2FtestIndexWriteFailureLeavingIndexActive%2F&sa=D&sntz=1&usg=AFQjCNEj0LexiK8bm4GzGex9JUvu0DBJag



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to