Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.4 8b9a51785 -> 7c91998d4


PHOENIX-4907 - IndexScrutinyTool should use empty catalog instead of null


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

Branch: refs/heads/4.x-HBase-1.4
Commit: 7c91998d4b8ff50c65b6b6587e8584883070762a
Parents: 8b9a517
Author: Geoffrey <[email protected]>
Authored: Mon Sep 17 16:09:44 2018 -0700
Committer: Geoffrey <[email protected]>
Committed: Tue Sep 18 12:52:36 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7c91998d/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
index f3ff39e..d9a14bf 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java
@@ -499,7 +499,7 @@ public class IndexScrutinyTool extends Configured 
implements Tool {
 
         ResultSet rs = null;
         try {
-            rs = dbMetaData.getIndexInfo(null, schemaName, tableName, false, 
false);
+            rs = dbMetaData.getIndexInfo("", schemaName, tableName, false, 
false);
             while (rs.next()) {
                 final String indexName = rs.getString(6);
                 if (indexTable.equalsIgnoreCase(indexName)) {

Reply via email to