From issues-return-3484-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Dec 20 23:38:05 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 B5F34180648 for ; Thu, 20 Dec 2018 23:38:04 +0100 (CET) Received: (qmail 60041 invoked by uid 500); 20 Dec 2018 22:38:03 -0000 Mailing-List: contact issues-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 issues@phoenix.apache.org Received: (qmail 60031 invoked by uid 99); 20 Dec 2018 22:38:03 -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; Thu, 20 Dec 2018 22:38:03 +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 5A305C8579 for ; Thu, 20 Dec 2018 22:38:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.001 X-Spam-Level: X-Spam-Status: No, score=-109.001 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id cd7ATjvY6N35 for ; Thu, 20 Dec 2018 22:38:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8304260EAB for ; Thu, 20 Dec 2018 22:38:01 +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 8AFC1E070F for ; Thu, 20 Dec 2018 22:38:00 +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 1C7DC23FF9 for ; Thu, 20 Dec 2018 22:38:00 +0000 (UTC) Date: Thu, 20 Dec 2018 22:38:00 +0000 (UTC) From: "Thomas D'Silva (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-5073) Invalid PIndexState during rolling upgrade from 4.13 to 4.14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-5073?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 726278#comment-16726278 ]=20 Thomas D'Silva commented on PHOENIX-5073: ----------------------------------------- [~kiran.maturi] can you attach the full exception stack trace so we can see= where the error is thrown from the old client.=20 I spoke to [~vincentpoon] offline, we might have to modify the returned PTa= ble with the PIndexState that was used in 4.13 if we detect that the reques= t was from an old client.=20 {code} public void getTable(RpcController controller, GetTableRequest request, RpcCallback done)=20 ... // the PTable of views and indexes on views might get updated be= cause a column is added to one of // their parents (this won't change the timestamp) if (table.getType()!=3DPTableType.TABLE || table.getTimeStamp()= !=3D tableTimeStamp) { builder.setTable(PTableImpl.toProto(table)); } {code} > Invalid PIndexState during rolling upgrade from 4.13 to 4.14 > ------------------------------------------------------------ > > Key: PHOENIX-5073 > URL: https://issues.apache.org/jira/browse/PHOENIX-5073 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.14.0 > Reporter: Kiran Kumar Maturi > Assignee: Kiran Kumar Maturi > Priority: Major > > While doing a rolling upgrade from 4.13 to 4.14 we are seeing this except= ion.=C2=A0 > {code:java} > java.util.concurrent.ExecutionException: java.sql.SQLException: java.lang= .IllegalArgumentException: Unable to PIndexState enum for serialized value = of 'w'{code} > Steps to reproduce. > # Start the server on 4.14 > # Start load with both 4.13 and 4.14 clients > # 4.13 client will show the above error > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)