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

Himanshu Vashishtha commented on HBASE-7723:
--------------------------------------------

Changing the approach a bit in order to avoid the manual process of znode 
removal. 
For 0.94.x: Change the way znodes are read in SplitLogWorker. Let the workers 
use their hbase.rootdir and append the log file path. This way, we can support 
rolling upgrade and ha/non-ha changes too.
For 0.96, change the way znodes are written by the SplitLogManager such that it 
doesn't use the NN uri. SplitLogWorker will create the log path by prefixing 
their hbase.rootdir. 

Attached are the patches for trunk/0.94. Incorporated Ted's review too. Thanks 
Elliot for discussing this.
Ran Log* tests on both. Jenkins on trunk patch passes. Jenkins on .94 in 
progress.
                
> Remove NN URI from ZK splitlogs.
> --------------------------------
>
>                 Key: HBASE-7723
>                 URL: https://issues.apache.org/jira/browse/HBASE-7723
>             Project: HBase
>          Issue Type: Bug
>          Components: hadoop2, master
>    Affects Versions: 0.92.0
>            Reporter: Kevin Odell
>            Assignee: Himanshu Vashishtha
>         Attachments: HBASE-7723-94.patch, HBASE-7723-94-v2.patch
>
>
> When moving to HDFS HA or removing HA we end up changing the NN namespace.  
> This can cause the HMaster not to start up fully due to trying to split 
> phantom HLogs pointing to the wrong FS - java.lang.IllegalArgumentException: 
> Wrong FS: error messages.  The HLogs in question might not even be on HDFS 
> anymore.  You have to go in a manually clear out the ZK splitlogs directory 
> to get HBase to properly boot up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to