You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/05 15:05:00 UTC

[jira] [Commented] (PHOENIX-6504) Exposing phoenix-server-hbase-1.6-4.16.2 jar crashes RegionServer

    [ https://issues.apache.org/jira/browse/PHOENIX-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374886#comment-17374886 ] 

ASF GitHub Bot commented on PHOENIX-6504:
-----------------------------------------

virajjasani opened a new pull request #1260:
URL: https://github.com/apache/phoenix/pull/1260


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Exposing phoenix-server-hbase-1.6-4.16.2 jar crashes RegionServer
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-6504
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6504
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.16.2
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 4.17.0, 4.16.2
>
>
> Exposing phoenix-server-hbase-1.6-4.16.2 jar crashes RegionServer when it tries to bring SYSTEM.CATALOG online as phoenix-server does not shade thirdparty guava and sometimes we include thirdparty guava imports in Phoenix 4 due to clean backports coming from Phoenix master/5.1.
> In addition to resorting to direct guava imports, we should also ban thirdparty guava imports (opposite to what Phoenix 5 does).
> Exception stacktrace:
> {code:java}
> 2021-07-05 19:59:57,196 FATAL [RS_OPEN_PRIORITY_REGION-1.2.3.4:16201-2] regionserver.HRegionServer: ABORTING region server 1.2.3.4,16201,1625495346871: The coprocessor org.apache.phoenix.coprocessor.MetaDataRegionObserver threw java.lang.NoClassDefFoundError: org/apache/phoenix/thirdparty/com/google/common/collect/ImmutableMap
> java.lang.NoClassDefFoundError: org/apache/phoenix/thirdparty/com/google/common/collect/ImmutableMap
>         at org.apache.phoenix.util.MetaDataUtil.<clinit>(MetaDataUtil.java:106)
>         at org.apache.phoenix.exception.SQLExceptionCode.<clinit>(SQLExceptionCode.java:266)
>         at org.apache.phoenix.schema.TableProperty.<init>(TableProperty.java:308)
>         at org.apache.phoenix.schema.TableProperty.<init>(TableProperty.java:41)
>         at org.apache.phoenix.schema.TableProperty$1.<init>(TableProperty.java:44)
>         at org.apache.phoenix.schema.TableProperty.<clinit>(TableProperty.java:43)
>         at org.apache.phoenix.query.QueryConstants.<clinit>(QueryConstants.java:455)
>         at org.apache.phoenix.coprocessor.MetaDataRegionObserver.<clinit>(MetaDataRegionObserver.java:106)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:288)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:251)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:202)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.loadTableCoprocessors(RegionCoprocessorHost.java:378)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.<init>(RegionCoprocessorHost.java:240)
>         at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:824)
>         at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:715)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)