hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17082) ForeignExceptionUtil isn’t packaged when building shaded protocol with -Pcompile-protocol
Date Sat, 12 Nov 2016 19:10:59 GMT
ChiaPing Tsai created HBASE-17082:
-------------------------------------

             Summary: ForeignExceptionUtil isn’t packaged when building shaded protocol
with -Pcompile-protocol
                 Key: HBASE-17082
                 URL: https://issues.apache.org/jira/browse/HBASE-17082
             Project: HBase
          Issue Type: Bug
            Reporter: ChiaPing Tsai


The source folder will be replaced from src/main/java to project.build.directory/protoc-generated-sources
when building shaded protocol with -Pcompile-protocol, but we do not copy the ForeignExceptionUtil.
So the final jar lacks the ForeignExceptionUtil and it causes the test error for hbase-client
and hbase-server.

{noformat}
[ERROR] /testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/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/hbase/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/hbase/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/hbase/master/MasterRpcServices.java:[938,32]
cannot find symbol
  symbol:   variable ForeignExceptionUtil
  location: class org.apache.hadoop.hbase.master.MasterRpcServices
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message