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

Hudson commented on HBASE-24471:
--------------------------------

Results for branch master
        [build #1741 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/1741/]: (/) 
*{color:green}+1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/1741/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/1698/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/1741/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/1741/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> The way we bootstrap meta table is confusing
> --------------------------------------------
>
>                 Key: HBASE-24471
>                 URL: https://issues.apache.org/jira/browse/HBASE-24471
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, meta, proc-v2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.4.0
>
>
> I used to thought the work is only done in the InitMetaProcedure but in fact 
> we have several pieces of code related to this which are placed in different 
> classes.
> In HRegionServer.initializeFileSystem, we will test whether we are HMaster. 
> If so, we will call FSTableDescriptors.tryUpdateMetaTableDescriptor. And in 
> MasterFileSystem.checkRootDir, we will check if meta region is available. If 
> not, we will bootstrap it, and it will also call 
> FSTableDescriptors.tryUpdateMetaTableDescriptor.
> The problem here is that, HRegionServer.initializeFileSystem is called in the 
> constructor of HRegionServer, which means it will be executed before 
> MasterFileSystem.checkRootDir, as we will only create the MasterFileSystem 
> for active master...
> Ideally I prefer we move all the bootstrap code into InitMetaProcedure, which 
> will be much cleaner. If this can not be done, at least we could move the 
> code into MasterFileSystem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to