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

Sean Mackrory edited comment on HADOOP-13952 at 8/3/17 9:29 PM:
----------------------------------------------------------------

I couldn't find much official documentation on the formatting of 
dependency:list's output so this is based on a few assumptions I don't 100% 
like, but it works well right now and I don't see better options.

There are 5 fields by default, 6 if there's a classifier. So I'm constructing 
those fields into the JAR name based on the number of fields. Including the 
classifier when there are 6 fields appears to fix both the json-lib issue as 
well as the jetty-util-ajax issue (though that one surprises me).

I'm also exiting in the event there are NOT 5 or 6 fields, and exiting if there 
are other errors. Still have to fix the okio and okhttp issues, though.


was (Author: mackrorysd):
I couldn't find much official documentation on the formatting of 
dependency:list's output so this is based on a few assumptions I don't 100% 
like, but it works well right now and I don't see better options.

There are 5 fields by default, 6 if there's a classifier. So I'm constructing 
those fields into the JAR name based on the number of fields. Including the 
classifier when there are 6 fields appears to fix both the json-lib issue as 
well as the jetty-util-ajax issue.

I'm also exiting in the event there are NOT 5 or 6 fields, and exiting if there 
are other errors. Still have to fix the okio and okhttp issues, though.

> tools dependency hooks are throwing errors
> ------------------------------------------
>
>                 Key: HADOOP-13952
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13952
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Allen Wittenauer
>            Assignee: Sean Mackrory
>            Priority: Critical
>         Attachments: HADOOP-13952.preview.patch
>
>
> During build, we are throwing these errors:
> {code}
> ERROR: hadoop-aliyun has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-aliyun has missing dependencies: json-lib-jdk15.jar
> ERROR: hadoop-archive-logs has missing dependencies: 
> jasper-compiler-5.5.23.jar
> ERROR: hadoop-archives has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-aws has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-azure has missing dependencies: 
> jetty-util-ajax-9.3.11.v20160721.jar
> ERROR: hadoop-azure-datalake has missing dependencies: okhttp-2.4.0.jar
> ERROR: hadoop-azure-datalake has missing dependencies: okio-1.4.0.jar
> ERROR: hadoop-extras has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-gridmix has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-kafka has missing dependencies: lz4-1.2.0.jar
> ERROR: hadoop-kafka has missing dependencies: kafka-clients-0.8.2.1.jar
> ERROR: hadoop-openstack has missing dependencies: commons-httpclient-3.1.jar
> ERROR: hadoop-rumen has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-sls has missing dependencies: jasper-compiler-5.5.23.jar
> ERROR: hadoop-sls has missing dependencies: metrics-core-3.0.1.jar
> ERROR: hadoop-streaming has missing dependencies: jasper-compiler-5.5.23.jar
> {code}
> Likely a variety of reasons for the failures.  Kafka is HADOOP-12556, but 
> others need to be investigated.  Probably just need to look at more than just 
> common/lib in dist-tools-hooks-maker now that shading has gone in.



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

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

Reply via email to