Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 84669 invoked from network); 9 Jun 2010 00:57:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 00:57:38 -0000 Received: (qmail 86184 invoked by uid 500); 9 Jun 2010 00:57:38 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 86147 invoked by uid 500); 9 Jun 2010 00:57:38 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 86139 invoked by uid 99); 9 Jun 2010 00:57:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 00:57:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 00:57:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o590vEAi007556 for ; Wed, 9 Jun 2010 00:57:14 GMT Message-ID: <22443492.38261276045034042.JavaMail.jira@thor> Date: Tue, 8 Jun 2010 20:57:14 -0400 (EDT) From: "HBase Review Board (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-2223) Handle 10min+ network partitions between clusters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876907#action_12876907 ] HBase Review Board commented on HBASE-2223: ------------------------------------------- Message from: "Jean-Daniel Cryans" ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://review.hbase.org/r/76/ ----------------------------------------------------------- (Updated 2010-06-08 17:54:19.227006) Review request for hbase. Changes ------- Refreshed patch for trunk. Summary ------- This is HBASE-2223 AKA Replication 2.0, it is currently only a "preview patch" as it's pretty much feature complete, works on a cluster, has unit tests and whatnot, but it could use a lot more testing and cleaning and ideas from others. This addresses bug HBASE-2223. http://issues.apache.org/jira/browse/HBASE-2223 Diffs (updated) ----- bin/replication/add_peer.rb PRE-CREATION bin/replication/copy_tables_desc.rb PRE-CREATION pom.xml 03c6ec8 src/main/java/org/apache/hadoop/hbase/HConstants.java 13aff26 src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java b36f1df src/main/java/org/apache/hadoop/hbase/master/ServerManager.java 82148a6 src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java a1baff4 src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java 034690e src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogKey.java 5d4cffe src/main/java/org/apache/hadoop/hbase/replication/ReplicationZookeeperHelper.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/master/ReplicationLogCleaner.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/package.html PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSink.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceInterface.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java PRE-CREATION src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java 2f2f306 src/test/java/org/apache/hadoop/hbase/replication/ReplicationSourceDummy.java PRE-CREATION src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java PRE-CREATION src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java PRE-CREATION src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSink.java PRE-CREATION src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java PRE-CREATION Diff: http://review.hbase.org/r/76/diff Testing ------- Thanks, Jean-Daniel > Handle 10min+ network partitions between clusters > ------------------------------------------------- > > Key: HBASE-2223 > URL: https://issues.apache.org/jira/browse/HBASE-2223 > Project: HBase > Issue Type: Sub-task > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.21.0 > > Attachments: HBASE-2223.patch > > > We need a nice way of handling long network partitions without impacting a master cluster (which pushes the data). Currently it will just retry over and over again. > I think we could: > - Stop replication to a slave cluster if it didn't respond for more than 10 minutes > - Keep track of the duration of the partition > - When the slave cluster comes back, initiate a MR job like HBASE-2221 > Maybe we want less than 10 minutes, maybe we want this to be all automatic or just the first 2 parts. Discuss. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.