Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 d8a78e19d -> 7fa11ff62


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/7fa11ff6
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7fa11ff6
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7fa11ff6

Branch: refs/heads/4.x-HBase-1.3
Commit: 7fa11ff62412c57bde2ddc8037dddd248d73341e
Parents: d8a78e1
Author: Geoffrey <[email protected]>
Authored: Mon Sep 17 16:09:44 2018 -0700
Committer: Geoffrey <[email protected]>
Committed: Tue Sep 18 13:01:30 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/7fa11ff6/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