hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5709) Move active master and backup master znodes to use pbs
Date Tue, 03 Apr 2012 23:36:22 GMT

     [ https://issues.apache.org/jira/browse/HBASE-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-5709:
-------------------------

    Attachment: 5709.txt

Serialize active master using pb.  Do same for backup masters.

{code}
D  src/main/java/org/apache/hadoop/hbase/MasterAddressTracker.java
  Moved under zookeeper.  All other Trackers are under zookeeper but this one.
M  src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
  Use new utility method for getting current master that is over in MasterAddressTracker.
M src/main/java/org/apache/hadoop/hbase/master/ActiveMasterManager.java
  Move dup code out into a new handle function.
  watcher.masterAddressZNode is no longer public. Use accessor.
  Use new setMasterAddress,getMasterAddress function on
  MasterAddressTracker for setting znode and backup master znode.
M src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java
  Generated code.
M src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
  Fix up import because MasterAddressTracker moved.
A src/main/java/org/apache/hadoop/hbase/zookeeper/MasterAddressTracker.java
  Add back MasterAddressTracker here.  Add some utility functions for setting
  and getting the master address.
M src/main/java/org/apache/hadoop/hbase/zookeeper/RootRegionTracker.java
  Move dataToServerName into ZKUtil.  Its useful beyond this class only.
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
  Go via accessor to get master znode path and use new utility method
  to get current master address.  dataToServerName moved here from
  RootRegionTracker.
M src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
  Shutdown access to masterAddressZNode.  Add an accessor method.
M  src/main/protobuf/ZooKeeper.proto
  Add new master message class.
M src/test/java/org/apache/hadoop/hbase/master/TestActiveMasterManager.java
M src/test/java/org/apache/hadoop/hbase/regionserver/TestMasterAddressManager.java
  Go via new accessor and use utility over in MasterAddressTracker.
M src/test/java/org/apache/hadoop/hbase/regionserver/TestRSStatusServlet.java
  Fix import to point at new location.
{code}
                
> Move active master and backup master znodes to use pbs
> ------------------------------------------------------
>
>                 Key: HBASE-5709
>                 URL: https://issues.apache.org/jira/browse/HBASE-5709
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>         Attachments: 5709.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message