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 ECAE6200BCC for ; Tue, 15 Nov 2016 03:48:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EB33F160B0D; Tue, 15 Nov 2016 02:48:06 +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 3EB7F160B06 for ; Tue, 15 Nov 2016 03:48:06 +0100 (CET) Received: (qmail 28407 invoked by uid 500); 15 Nov 2016 02:48:00 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 28087 invoked by uid 99); 15 Nov 2016 02:48:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 02:48:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0AEB32C4C78 for ; Tue, 15 Nov 2016 02:48:00 +0000 (UTC) Date: Tue, 15 Nov 2016 02:48:00 +0000 (UTC) From: "ChiaPing Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Comment_Edited]_(HBASE-?= =?utf-8?Q?17082)_ForeignExceptionUtil_isn=E2=80=99?= =?utf-8?Q?t_packaged_when_building_shaded_?= =?utf-8?Q?protocol_with_-Pcompile-protobuf?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 02:48:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-17082?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D156= 65829#comment-15665829 ]=20 ChiaPing Tsai edited comment on HBASE-17082 at 11/15/16 2:47 AM: ----------------------------------------------------------------- [~stack] Please take a look at unit of hbase-server and hbase-client. Thanks. was (Author: chia7712): [~stack] Please take a look at unit of hbaser-server and hbase-client. Thanks. > ForeignExceptionUtil isn=E2=80=99t packaged when building shaded protocol= with -Pcompile-protobuf > -------------------------------------------------------------------------= ---------------- > > Key: HBASE-17082 > URL: https://issues.apache.org/jira/browse/HBASE-17082 > Project: HBase > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: ChiaPing Tsai > Fix For: 2.0.0 > > Attachments: HBASE-17082.nothing.patch, HBASE-17082.v0.patch, HBA= SE-17082.v1.patch, patch-unit-hbase-client (after v1.patch).txt, patch-unit= -hbase-server (after v1.patch).txt > > > The source folder will be replaced from src/main/java to project.build.di= rectory/protoc-generated-sources when building shaded protocol with -Pcompi= le-protobuf, but we do not copy the ForeignExceptionUtil. So the final jar = lacks the ForeignExceptionUtil and it causes the test error for hbase-clien= t and hbase-server. > {noformat} > [ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbas= e/regionserver/HRegionServer.java:[169,36] cannot find symbol > symbol: class ForeignExceptionUtil > location: package org.apache.hadoop.hbase.util > [ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbas= e/master/MasterRpcServices.java:[100,36] cannot find symbol > symbol: class ForeignExceptionUtil > location: package org.apache.hadoop.hbase.util > [ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbas= e/regionserver/HRegionServer.java:[2144,17] cannot find symbol > symbol: variable ForeignExceptionUtil > location: class org.apache.hadoop.hbase.regionserver.HRegionServer > [ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbas= e/master/MasterRpcServices.java:[938,32] cannot find symbol > symbol: variable ForeignExceptionUtil > location: class org.apache.hadoop.hbase.master.MasterRpcServices > {noformat} > This bug blocks the patches which are against the hbase-protocol-shaded m= odule.=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)