Matt Burgess reopened NIFI-2828:

Reopening due to issue with Hadoop version included with Hive. 

The Hive NAR brings in hadoop-client, and its version is set by the 
hadoop.version property. This means that it will still get the version of 
Hadoop used by the Hadoop Libraries NAR, and can lead to incompatibilities.

Proposed change is to add a property called "hive.hadoop.version", used in the 
Hive NAR POM, but set in the top-level POM, defaulting to ${hadoop.version}. 
This maintains the current behavior, but allows the Hadoop dependencies in the 
Hive NAR to be updated independently of the Hadoop version(s) elsewhere.

> 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

Reply via email to