[
https://issues.apache.org/jira/browse/TEZ-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701884#comment-14701884
]
Siddharth Seth commented on TEZ-2164:
-------------------------------------
{code}
[ERROR] Failed to execute goal on project tez-api: Could not resolve
dependencies for project org.apache.tez:tez-api:jar:0.8.0-SNAPSHOT: Failure to
find org.apache.tez:guava-tez:jar:18.0 in
https://repository.apache.org/content/repositories/snapshots was cached in the
local repository, resolution will not be reattempted until the update interval
of apache.snapshots.https has elapsed or updates are forced -> [Help 1]
{code}
Including guava-tez in the modules set in the top level pom gets further, but
then fails with
{code}
[INFO] tez-job-analyzer .................................. SUCCESS [0.194s]
[INFO] tez-dist .......................................... FAILURE [0.072s]
[INFO] Tez ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.757s
[INFO] Finished at: Tue Aug 18 12:54:32 PDT 2015
[INFO] Final Memory: 81M/480M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:single (package-tez) on
project tez-dist: Failed to create assembly: Error creating assembly archive
tez-dist: You must set at least one file. -> [Help 1]
[ERROR]
{code}
One question. Does the shade plugin allow usage of the original package names
in code, and have the shading done post compile ? Otherwise, there'll be two
options of each guava class - and we'll have to monitor each patch to avoid
this.
> Shade the guava version used by Tez
> -----------------------------------
>
> Key: TEZ-2164
> URL: https://issues.apache.org/jira/browse/TEZ-2164
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Siddharth Seth
> Assignee: Hitesh Shah
> Priority: Critical
> Attachments: TEZ-2164.3.patch, TEZ-2164.wip.2.patch,
> allow-guava-16.0.1.patch
>
>
> Should allow us to upgrade to a newer version without shipping a guava
> dependency.
> Would be good to do this in 0.7 so that we stop shipping guava as early as
> possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)