[ 
https://issues.apache.org/jira/browse/HBASE-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Spiegelberg updated HBASE-5359:
---------------------------------------

    Attachment: HBASE-5359.patch

This is a initial patch that compiles/works/fixes HBASE-5335, but is not 
extensively tested.  Note that this can also be extended to support addColumn 
and other TableEventHandlers.  We should probably also employ a similar 
technique for enableTable/disableTable.  Feel free to run with this or ask 
questions.  It's pretty simple: just add a conditional variable to wait for ZK 
persist (or Exception).
                
> Alter in the shell can be too quick and return before the table is altered
> --------------------------------------------------------------------------
>
>                 Key: HBASE-5359
>                 URL: https://issues.apache.org/jira/browse/HBASE-5359
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Jean-Daniel Cryans
>             Fix For: 0.92.2
>
>         Attachments: HBASE-5359.patch
>
>
> This seems to be a recent change in behavior but I'm still not sure where 
> it's coming from.
> The shell is able to call HMaster.getAlterStatus before the TableEventHandler 
> is able call AM.setRegionsToReopen so that the returned status shows no 
> pending regions. It means that the alter seems "instantaneous" although it's 
> far from completed.

--
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

        

Reply via email to