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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/09/06 15:54:00 UTC

[jira] [Comment Edited] (HADOOP-14835) mvn site build throws SAX errors

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

Allen Wittenauer edited comment on HADOOP-14835 at 9/6/17 3:53 PM:
-------------------------------------------------------------------

Ripping out YARN-6877, javadoc appears to be working but I'm failing in hadoop-client-check-test-invariants with 

{code}
WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message:
Duplicate classes found:

  Found in:
    org.apache.hadoop:hadoop-client-runtime:jar:3.1.0-SNAPSHOT:compile
    org.apache.hadoop:hadoop-client-minicluster:jar:3.1.0-SNAPSHOT:compile
  Duplicate classes:
    org/apache/hadoop/shaded/org/apache/xerces/impl/dv/dtd/NMTOKENDatatypeValidator.class
....
{code}


was (Author: aw):
Ripping out YARN-6877, I'm still failing in hadoop-client-check-test-invariants with 

{code}
WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message:
Duplicate classes found:

  Found in:
    org.apache.hadoop:hadoop-client-runtime:jar:3.1.0-SNAPSHOT:compile
    org.apache.hadoop:hadoop-client-minicluster:jar:3.1.0-SNAPSHOT:compile
  Duplicate classes:
    org/apache/hadoop/shaded/org/apache/xerces/impl/dv/dtd/NMTOKENDatatypeValidator.class
....
{code}

> mvn site build throws SAX errors
> --------------------------------
>
>                 Key: HADOOP-14835
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14835
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, site
>    Affects Versions: 3.0.0-beta1
>            Reporter: Allen Wittenauer
>            Assignee: Andrew Wang
>            Priority: Critical
>         Attachments: HADOOP-14835.001.patch
>
>
> Running mvn  install site site:stage -DskipTests -Pdist,src -Preleasedocs,docs results in a stack trace when run on a fresh .m2 directory.  It appears to be coming from the jdiff doclets in the annotations code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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