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

Set ClassLoader property on HBase configuration

    Details

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

      Description

      Depending on the class loading environment, the way in which HBase attempts to load configuration files from the classpath may silently fail.

      We should set the relevant ClassLoader on the HBase configuration instance so we can load config resources correctly.

      We can use the ApplicationContextClassLoader if it's available, else we just fall back on whatever default ClassLoader HBase decides to use.

        Attachments

          Issue Links

            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: