phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-3461 Addendum - make coprocessor class in RenewLeaseIT static
Date Thu, 10 Nov 2016 20:59:05 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 9f964917b -> cd8cb6c53


PHOENIX-3461 Addendum - make coprocessor class in RenewLeaseIT static


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

Branch: refs/heads/4.x-HBase-1.1
Commit: cd8cb6c531d78ffb1fb19e2faa3ba23e7868cd72
Parents: 9f96491
Author: Samarth <samarth.jain@salesforce.com>
Authored: Thu Nov 10 12:58:54 2016 -0800
Committer: Samarth <samarth.jain@salesforce.com>
Committed: Thu Nov 10 12:58:54 2016 -0800

----------------------------------------------------------------------
 .../src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/cd8cb6c5/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
index 78c27f3..d2a5e57 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
@@ -45,7 +45,7 @@ import com.google.common.collect.Maps;
 public class RenewLeaseIT extends BaseUniqueNamesOwnClusterIT {
     private static final long RPC_TIMEOUT = 2000;
     private static volatile boolean SLEEP_NOW = false;
-    private final String TABLE_NAME = generateUniqueName();
+    private final static String TABLE_NAME = generateUniqueName();
     
     @BeforeClass
     public static void doSetup() throws Exception {
@@ -72,7 +72,9 @@ public class RenewLeaseIT extends BaseUniqueNamesOwnClusterIT {
         }
     }
     
-    public class SleepingRegionObserver extends SimpleRegionObserver {
+    public static class SleepingRegionObserver extends SimpleRegionObserver {
+        public SleepingRegionObserver() {}
+        
         @Override
         public boolean preScannerNext(final ObserverContext<RegionCoprocessorEnvironment>
c,
                 final InternalScanner s, final List<Result> results,


Mime
View raw message