Repository: phoenix Updated Branches: refs/heads/master 2084a6cce -> 9c8544e3f
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/9c8544e3 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9c8544e3 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9c8544e3 Branch: refs/heads/master Commit: 9c8544e3f64781d5abafadc14dbc95262f04559f Parents: 2084a6c Author: Geoffrey <[email protected]> Authored: Mon Sep 17 16:09:44 2018 -0700 Committer: Geoffrey <[email protected]> Committed: Tue Sep 18 12:52:12 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/9c8544e3/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 0299d6f..c321b3a 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 @@ -498,7 +498,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)) {
