Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89782200B65 for ; Tue, 2 Aug 2016 18:44:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88486160A65; Tue, 2 Aug 2016 16:44:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9939160A76 for ; Tue, 2 Aug 2016 18:44:21 +0200 (CEST) Received: (qmail 154 invoked by uid 500); 2 Aug 2016 16:44:20 -0000 Mailing-List: contact dev-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 dev@phoenix.apache.org Received: (qmail 127 invoked by uid 99); 2 Aug 2016 16:44:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 16:44:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 856AD2C0D5F for ; Tue, 2 Aug 2016 16:44:20 +0000 (UTC) Date: Tue, 2 Aug 2016 16:44:20 +0000 (UTC) From: "Loknath Priyatham Teja Singamsetty (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3114) PhoenixMRJobSubmitter fails to create async secondary indexes after PHOENIX-2966 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 16:44:22 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404357#comment-15404357 ] Loknath Priyatham Teja Singamsetty commented on PHOENIX-3114: -------------------------------------------------------------- [~rvaleti] Let me know if you want to finish up writing the complete test suite to cover the whole functionality. CC: [~jamestaylor] > PhoenixMRJobSubmitter fails to create async secondary indexes after PHOENIX-2966 > -------------------------------------------------------------------------------- > > Key: PHOENIX-3114 > URL: https://issues.apache.org/jira/browse/PHOENIX-3114 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.8.0 > Reporter: Loknath Priyatham Teja Singamsetty > Assignee: Loknath Priyatham Teja Singamsetty > Fix For: 4.8.0 > > Attachments: phoenix-3114.patch > > > After the refactoring done as part of PHOENIX-2966, The INDEX_TYPE column is missing in the ASYNC_SECONDARY_INDEX query to fetch the async index rows from system.catalog table. This is being used inside PhoenixMRJobSubmitter. Unfortunately, the existing async secondary index test cases for phoenix-mr-automation are succeeding. Created separate JIRA for writing e2e test for secondary indexes > 2016-07-25 07:36:10,744 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - Will read input token of size 32 for processing by initSASLContext > 2016-07-25 07:36:10,745 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - Will send token of size 32 from initSASLContext. > 2016-07-25 07:36:10,745 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - SASL client context established. Negotiated QoP: auth > Exception in thread "main" org.apache.phoenix.schema.ColumnNotFoundException: ERROR 504 (42703): Undefined column. columnName=INDEX_TYPE > at org.apache.phoenix.compile.RowProjector.getColumnIndex(RowProjector.java:159) > at org.apache.phoenix.jdbc.PhoenixResultSet.findColumn(PhoenixResultSet.java:178) > at org.apache.phoenix.jdbc.PhoenixResultSet.getByte(PhoenixResultSet.java:334) > at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.getCandidateJobs(PhoenixMRJobSubmitter.java:151) > at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.scheduleIndexBuilds(PhoenixMRJobSubmitter.java:179) > at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.main(PhoenixMRJobSubmitter.java:272) -- This message was sent by Atlassian JIRA (v6.3.4#6332)