[
https://issues.apache.org/jira/browse/PHOENIX-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated PHOENIX-7132:
---------------------------------
Summary: HBase cannot load ClientRpcControllerFactory when adding connector
with the --jar option to Spark (was: HBase cannot load )
> HBase cannot load ClientRpcControllerFactory when adding connector with the
> --jar option to Spark
> -------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-7132
> URL: https://issues.apache.org/jira/browse/PHOENIX-7132
> Project: Phoenix
> Issue Type: Bug
> Components: connectors, core
> Affects Versions: connectors-6.0.0, 5.2.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> I have noticed this today when working with the shaded spark connector jar:
> {noformat}
> 23/12/01 06:01:34 WARN ipc.RpcControllerFactory: Cannot load configured
> "hbase.rpc.controllerfactory.class"
> (org.apache.hadoop.hbase.ipc.controller.ClientRpcControllerFactory) from
> hbase-site.xml, falling back to use default RpcControllerFactory
> {noformat}
> We should be able to avoid this by not relocating these classes at all.
> This is only a problem for shaded artifacts that do not include HBase, like
> the shaded connectors and the planned phoenix-client-byo-hbase variant.
> In the full-fat shaded clients phoenix and HBase has the same shading, and
> HBase is able to find the shaded class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)