Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2828

SelectHiveQL and PutHiveQL fail with NoClassDefFoundError when using HTTP transport

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      SelectHiveQL and PutHiveQL don't currently work with HTTP transport. There appears to be a class loader problem resulting in java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.conn.ssl.SSLConnectionSocketFactory.

      This looks like a conflict with the Apache commons httpclient version in hadoop-common. Removing the hadoop-libraries .nar dependency and provided scope for hadoop-common appears to fix the issue, but I haven't done any rigorous testing so I'm not sure if there are other consequences or not.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mattyb149 Matt Burgess
              Reporter:
              jfrazee Joey Frazee

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment