hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanobu Asanuma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15574) Suppress build error if there are no docs after excluding private annotations
Date Mon, 02 Jul 2018 00:59:00 GMT

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

Takanobu Asanuma commented on HADOOP-15574:
-------------------------------------------

Thank you very much for your help, everyone!

> Suppress build error if there are no docs after excluding private annotations
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-15574
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15574
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>            Priority: Major
>             Fix For: 3.2.0, 3.1.1
>
>         Attachments: HDDS-202.1.patch
>
>
> Seen in hadoop-ozone when building with the Maven hdds profile enabled.
> {noformat}
> $ mvn clean install -DskipTests -DskipShade -Phdds -Pdist --projects hadoop-ozone/ozonefs
> ...
> [INFO] --- maven-javadoc-plugin:3.0.0-M1:jar (module-javadocs) @ hadoop-ozone-filesystem
---
> [INFO]
> ExcludePrivateAnnotationsStandardDoclet
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.223 s
> [INFO] Finished at: 2018-06-28T19:46:49+09:00
> [INFO] Final Memory: 122M/1196M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar
(module-javadocs) on project hadoop-ozone-filesystem: MavenReportException: Error while generating
Javadoc:
> [ERROR] Exit code: 1 - Picked up _JAVA_OPTIONS: -Duser.language=en
> [ERROR] java.lang.ArrayIndexOutOfBoundsException: 0
> [ERROR] 	at com.sun.tools.doclets.formats.html.ConfigurationImpl.setTopFile(ConfigurationImpl.java:537)
> [ERROR] 	at com.sun.tools.doclets.formats.html.ConfigurationImpl.setSpecificDocletOptions(ConfigurationImpl.java:309)
> [ERROR] 	at com.sun.tools.doclets.internal.toolkit.Configuration.setOptions(Configuration.java:560)
> [ERROR] 	at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:134)
> [ERROR] 	at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82)
> [ERROR] 	at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80)
> [ERROR] 	at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
> [ERROR] 	at org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsStandardDoclet.start(ExcludePrivateAnnotationsStandardDoclet.java:41)
> [ERROR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [ERROR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ERROR] 	at java.lang.reflect.Method.invoke(Method.java:498)
> [ERROR] 	at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
> [ERROR] 	at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
> [ERROR] 	at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
> [ERROR] 	at com.sun.tools.javadoc.Start.begin(Start.java:219)
> [ERROR] 	at com.sun.tools.javadoc.Start.begin(Start.java:205)
> [ERROR] 	at com.sun.tools.javadoc.Main.execute(Main.java:64)
> [ERROR] 	at com.sun.tools.javadoc.Main.main(Main.java:54)
> {noformat}



--
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


Mime
View raw message