gjacoby126 commented on a change in pull request #944:
URL: https://github.com/apache/phoenix/pull/944#discussion_r516342109



##########
File path: phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java
##########
@@ -225,6 +227,21 @@ public static Table getHTableForCoprocessorScan 
(RegionCoprocessorEnvironment en
         }
         return getTableFromSingletonPool(env, tableName);
     }
+
+    public static Table getHTableSystemChildLink (RegionCoprocessorEnvironment 
env) throws IOException {
+        if (coprocessorScanWorks(env)) {

Review comment:
       Looks like coprocessorScanWorks will return true for any HBase version 
>= 0.98.6, and the earliest version we currently support is 1.3. Can we rid of 
the getTableFromSingletonPool calls?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to