[
https://issues.apache.org/jira/browse/HBASE-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148252#comment-13148252
]
ramkrishna.s.vasudevan commented on HBASE-4478:
-----------------------------------------------
testSingleCellGetJSON(org.apache.hadoop.hbase.rest.TestRowResource):
expected:<403> but was:<200>
testURLEncodedKey(org.apache.hadoop.hbase.rest.TestRowResource):
expected:<403> but was:<200>
testNoSuchCF(org.apache.hadoop.hbase.rest.TestRowResource): expected:<403>
but was:<200>
testMultiCellGetPutXML(org.apache.hadoop.hbase.rest.TestRowResource):
expected:<404> but was:<200>
testStartEndRowGetPutXML(org.apache.hadoop.hbase.rest.TestRowResource):
expected:<200> but was:<403>
The above test cases failed with the patch.
TestDistributedLogSplitting failed with too many open files. Will see if the
above failures are due to this patch.
> Improve AssignmentManager.handleRegion so that it can process certain ZK
> state in the case of RS offline
> --------------------------------------------------------------------------------------------------------
>
> Key: HBASE-4478
> URL: https://issues.apache.org/jira/browse/HBASE-4478
> Project: HBase
> Issue Type: Bug
> Reporter: Ming Ma
> Assignee: ramkrishna.s.vasudevan
> Attachments: 4478-v2.txt, HBASE-4478_1.patch
>
>
> Currently AssignmentManager.handleRegion skips processing of ZK event change
> if the RS is offline. It relies on TimeoutMonitor and ServerShutdownHandler
> to process RIT.
> // Verify this is a known server
> if (!serverManager.isServerOnline(sn) &&
> !this.master.getServerName().equals(sn)) {
> LOG.warn("Attempted to handle region transition for server but " +
> "server is not online: " + Bytes.toString(data.getRegionName()));
> return;
> }
> For certain states like OPENED, OPENING, FAILED_OPEN, CLOSED, it can continue
> the progressing even if the RS is offline.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira