Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-7132

HBase cannot load ClientRpcControllerFactory when adding connector with the --jar option to Spark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • connectors-6.0.0, 5.2.0
    • None
    • connectors, core
    • None

    Description

      I have noticed this today when working with the shaded spark connector jar:

      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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: