saintstack opened a new pull request #2547:
URL: https://github.com/apache/hbase/pull/2547


   Undoes dependency on MetaTableAccessor from hbase-balancer.
   Moves MetaTableAccessor from hbase-balancer to hbase-server.
   Adds a new hbase-tool module to host hbase tooling. In this
   commit, we move favored nodes tooling here. In follow-on will
   move other tooling here.
   
   
hbase-balancer/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodeAssignmentHelper.java
   
hbase-server/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodesManager.java
    Moved the write-to-meta methods over to hbase-server into
    FavoredNodeManager from FavoredNodesAssignmentHelper where they are needed.
    Made the methods priivate.
   
   
hbase-server/src/main/java/org/apache/hadoop/hbase/master/SnapshotOfRegionAssignmentFromMeta.java
    Moved this class back into hbase-server. It wants to scan meta
    to calculate data structures already present in Master. Needs
    rewrite to use Master if Favored Nodes feature is revived.
   
   
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterOperationsForRegionReplicas.java
    Bug fix. Was using wrong logger.
   
   
hbase-tool/src/main/java/org/apache/hadoop/hbase/tool/favored/AssignmentVerificationReport.java
   
hbase-tool/src/main/java/org/apache/hadoop/hbase/tool/favored/RegionPlacementMaintainer.java
    Moved favored node tool and the reporter it uses here.
    Updated class comments to explain it unused, needs work.
   
   
hbase-tool/src/test/java/org/apache/hadoop/hbase/tool/favored/TestRegionPlacement.java
    Moved test for RegionPlacemenentMaintainer here.


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


Reply via email to