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

Ensure HBaseConfiguration ClassLoader is set correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.20.0
    • 2.20.1, 2.21.0
    • camel-hbase
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment