[
https://issues.apache.org/jira/browse/HDFS-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040995#comment-14040995
]
Steve Loughran commented on HDFS-4629:
--------------------------------------
# the declaration of the xerces lib version MUST go into
{{hadoop-project/pom.xml}}; all JAR version logic goes in there to avoid
inconsistencies
# is is going to add yet-another-dependency.
# we may need this import with java 9 anyway, as com.sun is potentially going
to be inaccessible.
> Using com.sun.org.apache.xml.internal.serialize.* in XmlEditsVisitor.java is
> JVM vendor specific. Breaks IBM JAVA
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4629
> URL: https://issues.apache.org/jira/browse/HDFS-4629
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: tools
> Affects Versions: 2.0.3-alpha
> Environment: OS:fedora and RHEL (64 bit)
> Platform: x86, POWER, and SystemZ
> JVM Vendor = IBM
> Reporter: Amir Sanjar
> Attachments: HDFS-4629-1.patch, HDFS-4629.patch
>
>
> Porting to a non-JVM vendor solution by replacing:
> import com.sun.org.apache.xml.internal.serialize.OutputFormat;
> import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
> with
> import org.apache.xml.serialize.OutputFormat;
> import org.apache.xml.serialize.XMLSerializer;
--
This message was sent by Atlassian JIRA
(v6.2#6252)