[ 
https://issues.apache.org/jira/browse/NIFI-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651849#comment-15651849
 ] 

Matt Burgess commented on NIFI-2991:
------------------------------------

I dug through the Hive JDBC and Hive Streaming code looking for usages of this 
library that might bite us on the client side:
- Hive JDBC only has that dependency because it comes with hive-common, but 
only appears to be used (on the server side) by Tez. I ran NiFi without the JAR 
and was able to do a SelectHiveQL with an "explain select * from myTable" 
successfully. This indicates the explain is being done on the server side 
(which currently does have the library).
- Hive Streaming appears to use Jackson for the StrictJsonWriter, I couldn't 
find any usages of org.json in that module (again it appears to only have been 
brought in transitively via hive-common).

If we exclude the JAR from the hive-common (and hive-serde) dependencies in the 
Hive NAR, we should be good to go from the client side. I will issue a PR with 
these changes shortly.

> JSON.org license is now CatX
> ----------------------------
>
>                 Key: NIFI-2991
>                 URL: https://issues.apache.org/jira/browse/NIFI-2991
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Sean Busbey
>            Assignee: Joseph Witt
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> per [update resolved legal|http://www.apache.org/legal/resolved.html#json]:
> {quote}
> CAN APACHE PRODUCTS INCLUDE WORKS LICENSED UNDER THE JSON LICENSE?
> No. As of 2016-11-03 this has been moved to the 'Category X' license list. 
> Prior to this, use of the JSON Java library was allowed. See Debian's page 
> for a list of alternatives.
> {quote}
> I don't know how many of our versions include stuff under this license, it's 
> definitely currently in master.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to