From commits-return-23438-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed Oct 17 20:57:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 77CE718061A for ; Wed, 17 Oct 2018 20:57:17 +0200 (CEST) Received: (qmail 61539 invoked by uid 500); 17 Oct 2018 18:57:16 -0000 Mailing-List: contact commits-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list commits@phoenix.apache.org Received: (qmail 61530 invoked by uid 99); 17 Oct 2018 18:57:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2018 18:57:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7A9F0DFDA7; Wed, 17 Oct 2018 18:57:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vincentpoon@apache.org To: commits@phoenix.apache.org Message-Id: <733c63f7ede3450e9143b30fcc42cd6d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: phoenix git commit: PHOENIX-4907 - IndexScrutinyTool should use empty catalog instead of null Date: Wed, 17 Oct 2018 18:57:16 +0000 (UTC) Repository: phoenix Updated Branches: refs/heads/4.14-HBase-1.2 c38a0caa3 -> b2c6989cf 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/b2c6989c Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b2c6989c Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b2c6989c Branch: refs/heads/4.14-HBase-1.2 Commit: b2c6989cf1b4022fe9a966d0051014ad1e29c0b2 Parents: c38a0ca Author: Geoffrey Authored: Mon Sep 17 16:09:44 2018 -0700 Committer: Vincent Poon Committed: Wed Oct 17 11:57:13 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/b2c6989c/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)) {