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 "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/27 01:36:00 UTC

[jira] [Commented] (HADOOP-15261) Upgrade commons-io from 2.4 to 2.5

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

ASF GitHub Bot commented on HADOOP-15261:
-----------------------------------------

GitHub user PandaMonkey opened a pull request:

    https://github.com/apache/hadoop/pull/347

    [HADOOP-15261]move commons-io up to 2.5

    move commons-io up to 2.5 which introduced by kerb-simplekdc.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PandaMonkey/hadoop trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/347.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #347
    
----
commit 625a8e94c85a263cd7687fb9dfff4ec4229e9b29
Author: PandaMonkey <36...@...>
Date:   2018-02-27T01:34:07Z

    move commons-io up to 2.5
    
    move commons-io up to 2.5 which introduced by kerb-simplekdc.

----


> Upgrade commons-io from 2.4 to 2.5
> ----------------------------------
>
>                 Key: HADOOP-15261
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15261
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: minikdc
>    Affects Versions: 3.0.0-alpha3
>            Reporter: PandaMonkey
>            Assignee: Ajay Kumar
>            Priority: Major
>         Attachments: hadoop.txt
>
>
> Hi, after analyzing hadoop-common-project\hadoop-minikdc\pom.xml, we found that Hadoop depends on org.apache.kerby:kerb-simplekdc 1.0.1, which transitivity introduced commons-io:2.5. 
> At the same time, hadoop directly depends on a older version of commons-io:2.4. By further look into the source code, these two versions of commons-io have many different features. The dependency conflict problem brings high risks of "NotClassDefFoundError:" or "NoSuchMethodError" issues at runtime. Please notice this problem. Maybe upgrading commons-io from 2.4 to 2.5 is a good choice. Hope this report can help you. Thanks!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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