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 B444B200D6D for ; Mon, 18 Dec 2017 22:35:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B2EEE160BFB; Mon, 18 Dec 2017 21:35:11 +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 0562E160C05 for ; Mon, 18 Dec 2017 22:35:10 +0100 (CET) Received: (qmail 75452 invoked by uid 500); 18 Dec 2017 21:35:10 -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 75290 invoked by uid 99); 18 Dec 2017 21:35:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2017 21:35:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 05AD9C3DF9 for ; Mon, 18 Dec 2017 21:35:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fXlW8zpQgUL0 for ; Mon, 18 Dec 2017 21:35:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C34945FB54 for ; Mon, 18 Dec 2017 21:35:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D3EBAE25C6 for ; Mon, 18 Dec 2017 21:35:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id CEBD62410C for ; Mon, 18 Dec 2017 21:35:03 +0000 (UTC) Date: Mon, 18 Dec 2017 21:35:03 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4468) Looking up a parent index table of a child view from a different client fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 18 Dec 2017 21:35:11 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295701#comment-16295701 ] Hadoop QA commented on PHOENIX-4468: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12902700/PHOENIX-4468-4.x-HBase-0.98.patch against 4.x-HBase-0.98 branch at commit 5cb02da74c15b0ae7c0fb4c880d60a2d1b6d18aa. ATTACHMENT ID: 12902700 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 release audit{color}. The applied patch generated 1 release audit warnings (more than the master's current 0 warnings). {color:red}-1 lineLengths{color}. The patch introduces the following lines longer than 100: + if (c.contains(QueryConstants.CHILD_VIEW_INDEX_NAME_SEPARATOR) ) { throw new RuntimeException("Table or schema name cannot contain hash"); } + tenantId, PNameImpl.EMPTY_NAME, tableName, table.getType(), table.getIndexState(), timeStamp, + String viewName = SchemaUtil.getTableNameFromFullName(name, QueryConstants.CHILD_VIEW_INDEX_NAME_SEPARATOR); + MetaDataMutationResult result = new MetaDataClient(pconn).updateCache(schemaName, tableName); {color:red}-1 core tests{color}. The patch failed these unit tests: ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.ViewIndexIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.ChildViewsUseParentViewIndexIT Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1676//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1676//artifact/patchprocess/patchReleaseAuditWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1676//console This message is automatically generated. > Looking up a parent index table of a child view from a different client fails. > ------------------------------------------------------------------------------- > > Key: PHOENIX-4468 > URL: https://issues.apache.org/jira/browse/PHOENIX-4468 > Project: Phoenix > Issue Type: Bug > Reporter: Thomas D'Silva > Assignee: Thomas D'Silva > Fix For: 4.14.0, 4.13.2 > > Attachments: PHOENIX-4468-4.x-HBase-0.98.patch > > > When you execute a query on a view, phoenix will use any indexes on the base table that have all the required columns. We create a new PTable based on the parent table index and tack on the view statement (to ensure we only see rows that we can access from the view). This PTable is added to the client side connection metadata cache. This table is not available on the server side (in SYSTEM.CATALOG). > If you lookup the parent index table from a different client (that never ran a query on the view), it will fail with a TableNotFoundException. -- This message was sent by Atlassian JIRA (v6.4.14#64029)