hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Liptak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12048) many undeclared used dependencies (and declared unused dependencies)
Date Tue, 30 Jun 2015 00:47:06 GMT

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

Gabor Liptak commented on HADOOP-12048:
---------------------------------------

Jenkins shows a javac failure, but the log doesn't have the error.

https://builds.apache.org/job/PreCommit-HADOOP-Build/7084/console

What is the best way to identify how this failed?

> many undeclared used dependencies (and declared unused dependencies)
> --------------------------------------------------------------------
>
>                 Key: HADOOP-12048
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12048
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Sangjin Lee
>            Assignee: Gabor Liptak
>         Attachments: HADOOP-12048.1.patch, HADOOP-12048.2.patch, HADOOP-12048.3.patch,
dependency-analysis.txt, hadoop-unused.txt
>
>
> Currently there are numerous undeclared used dependencies and declared unused dependencies
in the hadoop projects.
> Undeclared used dependencies are easier errors to correct, and correcting them will lead
to a better management of dependencies (enabling stricter dependency frameworks down the road).
> Declared unused dependencies are harder to resolve, as many may be legitimate runtime
dependencies. But fixing them would lead to smaller profiles for hadoop projects.
> We can do a one-time scan of dependency issues and fix them. However, in the long run,
it would be nice to be able to enforce those rules via maven plug-in.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message