Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11944

Ensure HBaseConfiguration ClassLoader is set correctly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.20.0
    • Fix Version/s: 2.20.1, 2.21.0
    • Component/s: camel-hbase
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Follow up on CAMEL-11692, my fix in HBaseComponent isn't quite right because a call to HBaseConfiguration.create() automatically sets the ClassLoader on the HBaseConfiguration object. Hence the conditional logic that follows is always false.

      I think it'd be better to move this logic into the preceding if block where the HBaseConfiguration is created. If folks provide their own configuration, then it's up to them to make sure they have set the ClassLoader correctly.

        Attachments

          Activity

            People

            • Assignee:
              jamesnetherton James Netherton
              Reporter:
              jamesnetherton James Netherton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: