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

Duo Zhang commented on HBASE-19997:
-----------------------------------

OK the problem is that I forgot to use zk less assignment for 1.4.3. After 
setting {{hbase.assignment.usezk}} to true, the rolling upgrade works fine. I 
tried the unload/load way, and also killed a RS directly without unloading its 
regions, both worked fine, the 1.x master can work together with the 2.x RS. 
And at last I restarted the master and upgrade them to 2.1.0, the rolling 
upgrade finished successfully.

Will write up a doc about how to do rolling upgrade from 1.x to 2.x soon. And 
you can also try it [~stack]. And there is a known issue for 2.1.0-SNAPSHOT, 
the SNAPSHOT suffix will be lost in the master page. Filed HBASE-20784 for it, 
not a big problem I think.

> [rolling upgrade] 1.x => 2.x
> ----------------------------
>
>                 Key: HBASE-19997
>                 URL: https://issues.apache.org/jira/browse/HBASE-19997
>             Project: HBase
>          Issue Type: Umbrella
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 2.1.0
>
>         Attachments: Screenshot from 2018-05-03 14-43-46.png
>
>
> An umbrella issue of issues needed so folks can do a rolling upgrade from 
> hbase-1.x to hbase-2.x.
> (Recent) Notables:
>  * hbase-1.x can't read hbase-2.x WALs -- hbase-1.x doesn't know the 
> AsyncProtobufLogWriter class used writing the WAL -- see 
> https://issues.apache.org/jira/browse/HBASE-19166?focusedCommentId=16362897&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16362897
>  for exception.
>  ** Might be ok... means WAL split fails on an hbase1 RS... must wait till an 
> hbase-2.x RS picks up the WAL for it to be split.
>  * hbase-1 can't open regions from tables created by hbase-2; it can't find 
> the Table descriptor. See 
> https://issues.apache.org/jira/browse/HBASE-19116?focusedCommentId=16363276&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16363276
>  ** This might be ok if the tables we are doing rolling upgrade over were 
> written with hbase-1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to