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 37187200BCC for ; Mon, 14 Nov 2016 22:32:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 35D3F160B06; Mon, 14 Nov 2016 21:32:01 +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 7F4B4160AF4 for ; Mon, 14 Nov 2016 22:32:00 +0100 (CET) Received: (qmail 51833 invoked by uid 500); 14 Nov 2016 21:31:59 -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 51795 invoked by uid 99); 14 Nov 2016 21:31:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2016 21:31:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4A7B32C4C75 for ; Mon, 14 Nov 2016 21:31:59 +0000 (UTC) Date: Mon, 14 Nov 2016 21:31:59 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(HBASE-1708?= =?utf-8?Q?2)_ForeignExceptionUtil_isn=E2=80=99t_p?= =?utf-8?Q?ackaged_when_building_shaded_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: Mon, 14 Nov 2016 21:32:01 -0000 [ https://issues.apache.org/jira/browse/HBASE-17082?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D156= 65090#comment-15665090 ]=20 Enis Soztutar commented on HBASE-17082: --------------------------------------- Thanks [~chia7712], I keep running into this. I think if you do {{mvn packa= ge}} instead of {{mvn compile}} or install it works. But did not spend too = much time on understanding why.=20 Can you please remove this:=20 {code} +// Add a nothing change {code} [~stack] FYI.=20 > 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 > Assignee: ChiaPing Tsai > Fix For: 2.0.0 > > Attachments: HBASE-17082.v0.patch, HBASE-17082.v1.patch, patch-un= it-hbase-client (after v1.patch).txt, patch-unit-hbase-server (after v1.pat= ch).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)