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

SammiChen commented on HADOOP-15080:
------------------------------------

Hi [~chris.douglas],  [[email protected]] and [~mackrorysd], thanks all for 
the information here.  I also have gone through the discussion in LEGAL-349. 
Here I want to further explain the dependency chain. The decision we made this 
time might be the guide for further issues.  

Currently aliyun oss sdk requires json-lib as compile dependency on maven 
repository. Assume we change the dependency scope to "test" as it should be. 
Here is the dependency chain after that. 

{noformat}
                                                          compile dependency    
                                 test dependency 
Hadoop oss storage support module   ----------------------------------> aliyun 
oss sdk  ---------------------------------->  json-lib
{noformat}

json-lib is used in oss sdk test functions, not used in any Hadoop oss storage 
support module code, including test code. Hadoop project doesn't import any 
class from json-lib, and not include it in any pom.xml file.  So basically the 
impact is if when you build Hadoop, maven will download the json-lib library to 
your local maven repository. That's all. 

>From the discussion in LEGAL-349, clearly it's prohibited if json-lib is 
>directly used in Hadoop oss storage support module test code. I'm not sure if  
>the above case is allowed or not. 

In the meanwhile, jersey-json is picked to replace json-lib. It is currently 
the number one used json library in Hadoop. So we assume it's safe to use. If 
anyone do have other opinion, please let me known ASAP.  I will go on with 
solution 2, try to deliver the new oss sdk to catch up the RC. Thanks 
[~andrew.wang]!

 



> Cat-X dependency on org.json via derived json-lib
> -------------------------------------------------
>
>                 Key: HADOOP-15080
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15080
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/oss
>    Affects Versions: 3.0.0-beta1
>            Reporter: Chris Douglas
>            Priority: Blocker
>         Attachments: HADOOP-15080-branch-3.0.0.001.patch
>
>
> The OSS SDK has a dependency on json-lib. In LEGAL-245, the org.json library 
> (from which json-lib may be derived) is released under a 
> [category-x|https://www.apache.org/legal/resolved.html#json] license.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to