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 54314200CB5 for ; Wed, 12 Jul 2017 22:38:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50D65165AFF; Wed, 12 Jul 2017 20:38:07 +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 9949A16460E for ; Wed, 12 Jul 2017 22:38:06 +0200 (CEST) Received: (qmail 29508 invoked by uid 500); 12 Jul 2017 20:38:05 -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 29497 invoked by uid 99); 12 Jul 2017 20:38:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 20:38:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5644919623D for ; Wed, 12 Jul 2017 20:38:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1CyZm_Q9rh7o for ; Wed, 12 Jul 2017 20:38:04 +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 E4D5062760 for ; Wed, 12 Jul 2017 20:38:03 +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 8E011E0D3C for ; Wed, 12 Jul 2017 20:38:02 +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 DBC9524721 for ; Wed, 12 Jul 2017 20:38:00 +0000 (UTC) Date: Wed, 12 Jul 2017 20:38:00 +0000 (UTC) From: "Geoffrey Jacoby (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (PHOENIX-3764) Local Index - InvalidProtocolBufferException on creating local index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 12 Jul 2017 20:38:07 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geoffrey Jacoby resolved PHOENIX-3764. -------------------------------------- Resolution: Cannot Reproduce Closing as Cannot Reproduce. If it ever shows up again, please feel free to reopen and I'll take another look. > Local Index - InvalidProtocolBufferException on creating local index > -------------------------------------------------------------------- > > Key: PHOENIX-3764 > URL: https://issues.apache.org/jira/browse/PHOENIX-3764 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.10.0 > Reporter: Mujtaba Chohan > Assignee: Geoffrey Jacoby > > DDLs > {noformat} > CREATE TABLE IF NOT EXISTS T (PKA CHAR(15) NOT NULL, PKF CHAR(3) NOT NULL, > PKP CHAR(15) NOT NULL, CRD DATE NOT NULL, EHI CHAR(15) NOT NULL, FID CHAR(15), CREATED_BY_ID VARCHAR, > FH VARCHAR, DT VARCHAR, OS VARCHAR, NS VARCHAR, OFN VARCHAR CONSTRAINT > PK PRIMARY KEY ( PKA, PKF, PKP, CRD DESC, EHI )) VERSIONS=1,IMMUTABLE_ROWS=true; > CREATE LOCAL INDEX IF NOT EXISTS TIDX ON T (PKF, CRD, PKP, EHI) > INCLUDE (FID, CREATED_BY_ID, FH, DT, OS, NS, OFN); > {noformat} > Exception > {noformat} > Caused by: java.lang.RuntimeException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length. > at org.apache.phoenix.index.IndexMaintainer.deserialize(IndexMaintainer.java:302) > at org.apache.phoenix.index.IndexMaintainer.deserialize(IndexMaintainer.java:274) > at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.doPostScannerOpen(UngroupedAggregateRegionObserver.java:375) > at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.overrideDelegate(BaseScannerRegionObserver.java:236) > ... 8 more > Caused by: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length. > at com.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:70) > at com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:728) > at com.google.protobuf.CodedInputStream.readRawByte(CodedInputStream.java:769) > at com.google.protobuf.CodedInputStream.readRawVarint32(CodedInputStream.java:378) > at com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:104) > at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$IndexMaintainer.(ServerCachingProtos.java:2200) > at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$IndexMaintainer.(ServerCachingProtos.java:2164) > at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$IndexMaintainer$1.parsePartialFrom(ServerCachingProtos.java:2398) > at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$IndexMaintainer$1.parsePartialFrom(ServerCachingProtos.java:2393) > at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:141) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:176) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:188) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:193) > at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) > at org.apache.phoenix.coprocessor.generated.ServerCachingProtos$IndexMaintainer.parseFrom(ServerCachingProtos.java:3345) > at org.apache.phoenix.index.IndexMaintainer.deserialize(IndexMaintainer.java:293) > ... 11 more (state=08000,code=101) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)