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 "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/09/13 02:10:03 UTC
[jira] [Commented] (HADOOP-14089) Automated checking for malformed
client artifacts.
[ https://issues.apache.org/jira/browse/HADOOP-14089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164040#comment-16164040 ]
Andrew Wang commented on HADOOP-14089:
--------------------------------------
Running "mvn verify -Dtest=NoSuchTest" this fails on some microsoft classes in the runtime jar, expected?
{noformat}
-> % jar tf ./hadoop-client-runtime/target/hadoop-client-runtime-3.1.0-SNAPSHOT.jar | sort | egrep -v "^org/apache/hadoop" | egrep -v "^META-INF" | egrep -v "^webapps"
ehcache-107ext.xsd
ehcache-core.xsd
jetty-dir.css
krb5-template.conf
krb5_udp-template.conf
microsoft/
microsoft/sql/
microsoft/sql/DateTimeOffset$1.class
microsoft/sql/DateTimeOffset.class
microsoft/sql/DateTimeOffset$SerializationProxy.class
microsoft/sql/Types.class
mozilla/
mozilla/public-suffix-list.txt
org/
org/apache/
properties.dtd
PropertyList-1.0.dtd
{noformat}
> Automated checking for malformed client artifacts.
> --------------------------------------------------
>
> Key: HADOOP-14089
> URL: https://issues.apache.org/jira/browse/HADOOP-14089
> Project: Hadoop Common
> Issue Type: Sub-task
> Affects Versions: 3.0.0-alpha2
> Reporter: David Phillips
> Assignee: Sean Busbey
> Priority: Blocker
> Attachments: HADOOP-14089.2.patch, HADOOP-14089.WIP.0.patch, HADOOP-14089.WIP.1.patch
>
>
> The jar includes things like {{assets}}, {{okio}}, {{javax/annotation}}, {{javax/ws}}, {{mozilla}}, etc.
> An easy way to verify this is to look at the contents of the jar:
> {code}
> jar tf hadoop-client-runtime-xxx.jar | sort | grep -v '^org/apache/hadoop'
> {code}
> For standard dependencies, such as the JSR 305 {{javax.annotation}} or JAX-RS {{javax.ws}}, it makes sense for those to be normal dependencies in the POM -- they are standard, so version conflicts shouldn't be a problem. The JSR 305 annotations can be {{<optional>true</optional>}} since they aren't needed at runtime (this is what Guava does).
--
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