hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HBase Review Board (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2870) Add Backup CLI Option to HMaster
Date Tue, 10 Aug 2010 00:15:16 GMT

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

HBase Review Board commented on HBASE-2870:
-------------------------------------------

Message from: "Nicolas" <nspiegelberg@facebook.com>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/592/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

Adds '--backup' option to HMaster.  All backup masters will wait until a primary master has
written the /hbase/master znode before poll waiting.  This allows us to have a deterministic
primary master while starting up multiple masters.  Note that you can specify a list of backup
masters to automatically start/stop via the 'conf/backup-masters' file.


This addresses bug HBASE-2870.
    http://issues.apache.org/jira/browse/HBASE-2870


Diffs
-----

  trunk/bin/hbase-config.sh 983803 
  trunk/bin/hbase-daemons.sh 983803 
  trunk/bin/local-master-backup.sh 983803 
  trunk/bin/master-backup.sh PRE-CREATION 
  trunk/bin/start-hbase.sh 983803 
  trunk/bin/stop-hbase.sh 983803 
  trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java 983803 
  trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java 983803 
  trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWrapper.java 983803 

Diff: http://review.cloudera.org/r/592/diff


Testing
-------


Thanks,

Nicolas




> Add Backup CLI Option to HMaster
> --------------------------------
>
>                 Key: HBASE-2870
>                 URL: https://issues.apache.org/jira/browse/HBASE-2870
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Nicolas Spiegelberg
>            Assignee: Karthik Ranganathan
>            Priority: Minor
>             Fix For: 0.90.0
>
>
> The HMaster main() should allow a toggle like --backup, which forces it to be a secondary
master on startup versus a primary candidate.  That way, we can start up multiple masters
at once and deterministically know which one will be the original primary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message