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 36DA9200BCC for ; Mon, 24 Oct 2016 22:09:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3566D160B01; Mon, 24 Oct 2016 20:09:24 +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 83002160B00 for ; Mon, 24 Oct 2016 22:09:23 +0200 (CEST) Received: (qmail 25993 invoked by uid 500); 24 Oct 2016 20:00:23 -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 25963 invoked by uid 99); 24 Oct 2016 20:00:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 20:00:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F0BA52C2A6B for ; Mon, 24 Oct 2016 19:59:59 +0000 (UTC) Date: Mon, 24 Oct 2016 19:59:59 +0000 (UTC) From: "Maryann Xue (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3394) Fix getHTable unsupported operation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Oct 2016 20:09:24 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15603031#comment-15603031 ] Maryann Xue commented on PHOENIX-3394: -------------------------------------- That makes sense, James. But we'll have to change all test cases to make sure that schemas are created (if used) before creating the table, right? > Fix getHTable unsupported operation > ----------------------------------- > > Key: PHOENIX-3394 > URL: https://issues.apache.org/jira/browse/PHOENIX-3394 > Project: Phoenix > Issue Type: Sub-task > Reporter: Eric Lomore > Assignee: Eric Lomore > > Tons of unit tests have this same stack trace. It appears that this call shouldn't reach ConnectionlessQueryServicesImpl.getTable? > {code} > Caused by: java.lang.UnsupportedOperationException > at org.apache.phoenix.query.ConnectionlessQueryServicesImpl.getTable(ConnectionlessQueryServicesImpl.java:157) > at org.apache.phoenix.query.DelegateConnectionQueryServices.getTable(DelegateConnectionQueryServices.java:70) > at org.apache.phoenix.execute.MutationState.getHTable(MutationState.java:360) > at org.apache.phoenix.iterate.TableResultIterator.(TableResultIterator.java:101) > at org.apache.phoenix.iterate.DefaultTableResultIteratorFactory.newIterator(DefaultTableResultIteratorFactory.java:33) > at org.apache.phoenix.iterate.ParallelIterators.submitWork(ParallelIterators.java:104) > at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:871) > ... 71 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)