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 "Junping Du (JIRA)" <ji...@apache.org> on 2017/04/05 22:54:41 UTC
[jira] [Commented] (HADOOP-13688) Stop bundling HTML source code in
javadoc JARs
[ https://issues.apache.org/jira/browse/HADOOP-13688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957960#comment-15957960 ]
Junping Du commented on HADOOP-13688:
-------------------------------------
I think there are related because our tar ball include these javadoc jars (with new create release script), so remove the link source will significantly reduce the tar ball in branch-2 releases. I verified that the size of tar ball is reduced from 410 M to 242M for the same branch-2.8.
I plan to merge the patch to branch-2/branch-2.8 if no one objects.
> Stop bundling HTML source code in javadoc JARs
> ----------------------------------------------
>
> Key: HADOOP-13688
> URL: https://issues.apache.org/jira/browse/HADOOP-13688
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Affects Versions: 2.6.4
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Fix For: 3.0.0-alpha2
>
> Attachments: HADOOP-13688.001.patch
>
>
> We generate source code with line numbers for inclusion in the javadoc JARs. Given that there's github and other online viewers, this doesn't seem so useful these days.
> Disabling the "linkSource" option saves us 40MB for the hadoop-common javadoc jar:
> {noformat}
> -rw-r--r-- 1 andrew andrew 98M Oct 5 14:44 hadoop-common-3.0.0-alpha2-SNAPSHOT-javadoc.jar
> -rw-r--r-- 1 andrew andrew 58M Oct 5 15:00 ./hadoop-common-project/hadoop-common/target/hadoop-common-3.0.0-alpha2-SNAPSHOT-javadoc.jar
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org