[ 
https://issues.apache.org/jira/browse/HADOOP-15080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Mackrory updated HADOOP-15080:
-----------------------------------
    Attachment: HADOOP-15080.001.patch

Just to make sure we have at least one legal option to proceed here, attaching 
a patch that removes the aliyun-oss module by reverting all of the commits that 
affect hadoop-tools/hadoop-aliyun. Of course if we can just replace the 
dependency with another option, I'm obviously all for that instead. Just 
putting this up here if there's no other option in the near future.

A couple of Maven version updates and some more general test modifications 
(6a52b5e14495c5b2e0257aec65e61acd43aef309, 
0d5c8ed8e0176909ee4d68b2969a882c21c0df55) were not reverted directly (hence the 
conflicts below), and one other removal from the hadoop-cloud-storage module 
was needed to compile (see HADOOP-13687). Here's a summary of all the other 
commit messages to document what would need to be added back if we can figure 
this out later on a slower timeframe:

{quote}
    Revert "HADOOP-14787. AliyunOSS: Implement the `createNonRecursive` 
operator."
    
    This reverts commit 27ab5f7385c70f16fd593edc336c573c69f19331.
    
    Revert "HADOOP-14194. Aliyun OSS should not use empty endpoint as default. 
Contributed by Genmao Yu"
    
    This reverts commit 267e19a09f366a965b30c8d4dc75e377b0d92fff.
    
    Revert "HADOOP-14466. Remove useless document from 
TestAliyunOSSFileSystemContract.java. Contributed by Chen Liang."
    
    This reverts commit 6e6e96583f1ee3c8a8775480f41c3adcdd5e2c45.
    
    Revert "HADOOP-14458. Add missing imports to 
TestAliyunOSSFileSystemContract.java. Contributed by Mingliang Liu."
    
    This reverts commit 07e60f85d87ca9a585d351a308ee0ecfa9293750.
    
    Revert "HADOOP-14192. Aliyun OSS FileSystem contract test should implement 
getTestBaseDir(). Contributed by Mingliang Liu"
    
    This reverts commit 86035c16447eb0ad7989975639f83bc4b4b26a27.
    
    Revert "HADOOP-14072. AliyunOSS: Failed to read from stream when seek 
beyond the download size. Contributed by Genmao Yu"
    
    This reverts commit cd3e59a3dcc69f68711777d448da5228a55846b3.
    
    Revert "HADOOP-14069. AliyunOSS: listStatus returns wrong file info. 
Contributed by Fei Hui"
    
    This reverts commit 01be4503c3b053d2cff0b179774dabfd267877db.
    
    Conflicts:
        
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java
    
    Revert "HADOOP-13768. AliyunOSS: handle the failure in the batch delete 
operation `deleteDirs`. Contributed by Genmao Yu"
    
    This reverts commit 5b151290ae2916dc04d6a4338085fcefafa21982.
    
    Revert "HADOOP-14065. AliyunOSS: oss directory filestatus should use meta 
time. Contributed by Fei Hui"
    
    This reverts commit a8a594b4c89319bef294534755f0e4ed6198ec88.
    
    Revert "HADOOP-13723. AliyunOSSInputStream#read() should update read bytes 
stat correctly. Contributed by Mingliang Liu"
    
    This reverts commit d9f73f1b7cd893a7d88baa9bfd1b809a5dec9e59.
    
    Revert "HADOOP-13701. AbstractContractRootDirectoryTest can fail when 
handling delete "/". Contributed by Genmao Yu"
    
    This reverts commit c31b5e61b1f09949548116309218a2b3e9c0beda.
    
    Revert "HADOOP-13634. Some configuration in doc has been outdated. 
Contributed by Genmao Yu"
    
    This reverts commit 26d5df390cf976dcc1d17fc68d0fed789dc34e84.
    
    Revert "HADOOP-13624. Rename TestAliyunOSSContractDispCp. Contributed by 
Genmao Yu"
    
    This reverts commit 22af6f8db3a44cd51514b4851b99adcfad42751d.
    
    Revert "HADOOP-13591. Unit test failure in TestOSSContractGetFileStatus and 
TestOSSContractRootDir. Contributed by Genmao Yu"
    
    This reverts commit 08b37603d9c0be67c4e0790c1ad266551ef21f5e.
    
    Revert "HADOOP-13609. Refine credential provider related codes for 
AliyunOss integration. Contributed by Genmao Yu"
    
    This reverts commit 9cd47602576cd01a905e27642b685905a88eee72.
    
    Revert "HADOOP-13610. Clean up AliyunOss integration tests. Contributed by 
Genmao Yu"
    
    This reverts commit a1940464a498d1e662e5c3843f2d31ce63ec726b.
    
    Conflicts:
        
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestOSSFileSystemContract.java
    
    Revert "HADOOP-13481. User documents for Aliyun OSS FileSystem. Contributed 
by Genmao Yu."
    
    This reverts commit e671a0f52b5488b8453e1a3258ea5e6477995648.
    
    Revert "HADOOP-13529. Do some code refactoring. Contributed by Genmao Yu."
    
    This reverts commit d33e928fbeb1764a724c8f3c051bb0d8be82bbff.
    
    Conflicts:
        
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestOSSFileSystemContract.java
    
    Revert "HADOOP-13498. The number of multi-part upload part should not 
bigger than 10000. Contributed by Genmao Yu."
    
    This reverts commit cdb77110e77b70ed0c1125b2a6a422a8c7c28ec7.
    
    Revert "HADOOP-13499. Support session credentials for authenticating with 
Aliyun. Contributed by Genmao Yu."
    
    This reverts commit 6bb741b9f811d3a1c0ce4ecc91a78ac47513bb8e.
    
    Revert "HADOOP-13483. File create should throw error rather than overwrite 
directories. Contributed by Genmao Yu."
    
    This reverts commit bd2d97adeea55bf2c7e4ab475bcc90f3a14e751a.
    
    Revert "HADOOP-13491. Fix several warnings from findbugs. Contributed by 
Genmao Yu."
    
    This reverts commit 4d84c814fcaf074022593c057d8f8dec4cd461fa.
    
    Revert "HADOOP-12756. Incorporate Aliyun OSS file system implementation. 
Contributed by Mingfei Shi and Lin Zhou"
    
    This reverts commit a5d5342228050a778b20e95adf7885bdba39985d.
    
    Conflicts:
        hadoop-project/pom.xml
        hadoop-tools/hadoop-aliyun/pom.xml
        
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestOSSFileSystemContract.java
{quote}

> 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.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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to