[ 
https://issues.apache.org/jira/browse/PHOENIX-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-7132:
---------------------------------
    Description: 
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.

  was:
I have noticed this today:

{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.


> Do not relocate classes to be directly referred by hbase-site.xml
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-7132
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7132
>             Project: Phoenix
>          Issue Type: Bug
>          Components: connectors, core
>            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)

Reply via email to