saintstack opened a new pull request #995: HBASE-23055 Alter hbase:meta
URL: https://github.com/apache/hbase/pull/995
 
 
       Make it so hbase:meta can be altered. TableState for hbase:meta
       was hardcoded ENABLED. Make it dynamic. State is now kept in
       current active Master. It is transient so falls back to default
       if Master crashes. Add to registry a getMetaTableState
       which reads mirrored state from zookeeper (NOT from Master and
       defaults ENABLED if no implementation or error fetching state).
       hbase:meta schema will be bootstrapped from the filesystem.
       Changes to filesystem schema are atomic so we should be ok if
       Master fails mid-edit (TBD). Undoes a bunch of guards that
       prevented our being able to edit hbase:meta.
   
       TODO: Tests, more clarity around hbase:meta table state, and undoing
       references to hard-coded hbase:meta regioninfo.
   
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
        Throw illegal access exception if you try to use MetaTableAccessor
        getting state of the hbase:meta table.
   
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
        Add fetching of hbase:meta table state from registry. Adds cache of
        tablestates w/ a ttl of 1 second (adjustable).
   
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
         Add querying registry for hbase:meta table state.
   
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java
         Add querying of mirrored table state for hbase:meta table.
   
       M 
hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZNodePaths.java
        Shutdown access.
   
       M 
hbase-server/src/main/java/org/apache/hadoop/hbase/TableDescriptors.java
        Just cleanup.
   
       M 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java
        Add state holder for hbase:meta. Removed unused methods.
   
       M 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java
        Shut down access.
   
       M 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.java
        Allow hbase:meta to be disabled.
   
       M 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.java
        Allow hbase:meta to be enabled.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to