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 GitBox <gi...@apache.org> on 2022/06/22 00:07:46 UTC

[GitHub] [hadoop] aajisaka commented on pull request #4455: HADOOP-18301.Upgrade commons-io to 2.11.0

aajisaka commented on PR #4455:
URL: https://github.com/apache/hadoop/pull/4455#issuecomment-1162479085

   The error message in shadedclient: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4455/1/artifact/out/patch-shadedclient.txt
   
   > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project hadoop-hdfs: Compilation failure
   > [ERROR] /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4455/ubuntu-focal/src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HostRestrictingAuthorizationFilter.java:[128,9] exception java.io.IOException is never thrown in body of corresponding try statement
   
   Since commons-io 2.11.0 `throws IOException` has been removed from `FilenameUtils#directoryContains` and that's why the compile failed: https://github.com/apache/commons-io/commit/083c58432d8bb169f350cb8936e59883f7dd448f 
   
   Given there is an incompatibility between 2.11.0 and 2.8.0, I recommend to upgrade to 2.11.0 only for trunk if there is no security issue in the current version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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