You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "YangY (Jira)" <ji...@apache.org> on 2020/04/09 14:08:00 UTC

[jira] [Issue Comment Deleted] (HADOOP-16956) Tencent Cloud COS: Package it into hadoop-dist

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

YangY updated HADOOP-16956:
---------------------------
    Comment: was deleted

(was: [~stevel@apache.org]

It is mainly to shade the basic dependencies of the cos-java-sdk, excluding the conflicting which comes from the Hadoop-common and relocating them to the package: 'org.apache.hadoop.fs.cosn.shaded'.

For example, HTTP lib, commons-codec, fasterxml and etc. 

The reason why I want to do this is that the version of the above dependencies is different from the Hadoop-common's,  and may produce some runtime conflict.  

The following is the content of my pom.xml. 

[^pom.xml]

 

Could you help me to check it and give me some advice?

 

Thanks.

 

 

 )

> Tencent Cloud COS: Package it into hadoop-dist
> ----------------------------------------------
>
>                 Key: HADOOP-16956
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16956
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/cos
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: YangY
>            Assignee: YangY
>            Priority: Major
>         Attachments: pom.xml, pom.xml
>
>
> [~stevel@apache.org]  Hi, Steve, the Hadoop-COS has been submitted to the trunk branch last year. (Related jira: https://issues.apache.org/jira/browse/HADOOP-15616). 
> I am the contributor and the maintainer of this patch.  Considering that you are the expert on the object storage support in Hadoop, I have some questions for you.
>  # The Hadoop-cos patch is placed in the *hadoop-cloud-storage-project directory. How to package it into the hadoop-dist directory as the distribution package?*
>  # How to manage the dependencies of the Hadoop-cos, such as cos-java-sdk? I use the maven to compile and package it, but only the hadoop-cos-3.4.0-SNAPSHOT.jar is generated. I compare the pom.xml between the hadoop-cos and hadoop-oss, and find the dependency scope is '*compile*' in their pom.xml. The hadoop-oss has oss-java-sdk.jar in dist directory, but the hadoop-cos does not. 
> Can you guide me how to solve these two problems? 
>  
> Thanks for your time and attention. :)
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org