[
https://issues.apache.org/jira/browse/HBASE-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068276#comment-13068276
]
ramkrishna.s.vasudevan commented on HBASE-4083:
-----------------------------------------------
@Stack,
I found one problem with the patch
The return type RegionOpeningStates has to be added in the map in
HbaseObjectWritable otherwise IPC error is thrown saying unexpected code.
Is there any where else we need to change. Because i found a comment in the
HRegionInterface saying that
any change done here we need to change the HBaseRPCProtocolVersion.java.
Do i need to change the version ?
One more thing is I tested the scenario that you had mentioned,
The Master had the patch whereas the RS did not have the patch. So whenever a
region is opened it return a null value in the master side.
So there is no compatability problem but the scenario of partial enabling may
not work.
Is it fine Stack? Do i need to verify any other thing?
I will resubmit the patch shortly.
> If Enable table is not completed and is partial, then scanning of the table
> is not working
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-4083
> URL: https://issues.apache.org/jira/browse/HBASE-4083
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.3
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.90.4, 0.92.0
>
> Attachments: HBASE-4083-1.patch, HBASE-4083_0.90.patch,
> HBASE-4083_trunk.patch
>
>
> Consider the following scenario
> Start the Master, Backup master and RegionServer.
> Create a table which in turn creates a region.
> Disable the table.
> Enable the table again.
> Kill the Active master exactly at the point before the actual region
> assignment is started.
> Restart or switch master.
> Scan the table.
> NotServingRegionExcepiton is thrown.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira