hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/6] hbase git commit: HBASE-14605 Addendum restores two methods in SplitTransactionImpl
Date Tue, 03 Nov 2015 00:07:43 GMT
HBASE-14605 Addendum restores two methods in SplitTransactionImpl


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b929c0ed
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b929c0ed
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b929c0ed

Branch: refs/heads/branch-1.2
Commit: b929c0ed83776e6039c09967da83415c12d5c093
Parents: 28932d2
Author: Andrew Purtell <apurtell@apache.org>
Authored: Fri Oct 30 09:09:47 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Nov 2 15:50:23 2015 -0800

----------------------------------------------------------------------
 .../hadoop/hbase/regionserver/SplitTransactionImpl.java | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b929c0ed/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java
index 6b9704e..958e1f3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransactionImpl.java
@@ -214,6 +214,11 @@ public class SplitTransactionImpl implements SplitTransaction {
   private static IOException closedByOtherException = new IOException(
       "Failed to close region: already closed by another thread");
 
+  /* package */PairOfSameType<Region> createDaughters(final Server server,
+      final RegionServerServices services) throws IOException {
+    return createDaughters(server, services, null);
+  }
+
   /**
    * Prepare the regions and region files.
    * @param server Hosting server instance.  Can be null when testing (won't try
@@ -579,6 +584,13 @@ public class SplitTransactionImpl implements SplitTransaction {
     return regions;
   }
 
+  @Deprecated
+  public PairOfSameType<Region> stepsAfterPONR(final Server server,
+      final RegionServerServices services, final PairOfSameType<Region> regions)
+      throws IOException {
+    return stepsAfterPONR(server, services, regions, null);
+  }
+
   public PairOfSameType<Region> stepsAfterPONR(final Server server,
       final RegionServerServices services, final PairOfSameType<Region> regions, User
user)
       throws IOException {


Mime
View raw message