[
https://issues.apache.org/jira/browse/NIFI-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527822#comment-15527822
]
ASF GitHub Bot commented on NIFI-2828:
--------------------------------------
GitHub user mattyb149 opened a pull request:
https://github.com/apache/nifi/pull/1075
NIFI-2828: Fix Hive NAR dependencies
The approach is to remove the parent dependency and put all Hadoop/Hive
dependencies in the Hive NAR instead of expecting them in a parent classloader.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mattyb149/nifi NIFI-2828
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1075.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1075
----
commit d245a66f0495d416d556fc2b53cc00c288780ad8
Author: Matt Burgess <[email protected]>
Date: 2016-09-27T23:51:49Z
NIFI-2828: Fix Hive NAR dependencies
----
> SelectHiveQL and PutHiveQL fail with NoClassDefFoundError when using HTTP
> transport
> ------------------------------------------------------------------------------------
>
> Key: NIFI-2828
> URL: https://issues.apache.org/jira/browse/NIFI-2828
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Joey Frazee
> Assignee: Matt Burgess
> Fix For: 1.1.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)