[
https://issues.apache.org/jira/browse/BEAM-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884849#comment-15884849
]
ASF GitHub Bot commented on BEAM-1558:
--------------------------------------
GitHub user tom-haines opened a pull request:
https://github.com/apache/beam/pull/2110
[BEAM-1558] add cloudera repository for flink runner deps
When building beam from source with a fresh local repository, the
org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.4 dependency is not available
in the repository list (the dependency is transitive via
org.apache.flink:flink-java:jar:1.2.0).
This PR adds the cloudera repo matching the repo listed in flink 1.2.0
pom.xml, to follow convention of listing repositories containing the artifacts
required for the build.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tom-haines/beam BEAM-1558-add-cloudera
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2110.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2110
----
commit ba600375f2e25367f5a0979a684359600f7aed98
Author: tom-haines <[email protected]>
Date: 2017-02-26T18:19:42Z
BEAM-1558 add cloudera repository for jetty-util 6.1.26.cloudera.4
dependency of flink 1.2.0
----
> jetty-util 6.1.26.cloudera.4 absent from repository list
> --------------------------------------------------------
>
> Key: BEAM-1558
> URL: https://issues.apache.org/jira/browse/BEAM-1558
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Affects Versions: 0.6.0
> Reporter: Tom Haines
> Assignee: Aljoscha Krettek
> Priority: Minor
>
> When building beam from source with a fresh local repository, the
> org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.4 dependency is not
> available in the repository list.
> The dependency is transitive via org.apache.flink:flink-java:jar:1.2.0
> {code}
> $ mvn -f runners/flink/runner/pom.xml dependency:tree
> -Dincludes="*:jetty-util"
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Beam :: Runners :: Flink :: Core 0.6.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] --- maven-dependency-plugin:3.0.0:tree (default-cli) @
> beam-runners-flink_2.10 ---
> [INFO] org.apache.beam:beam-runners-flink_2.10:jar:0.6.0-SNAPSHOT
> [INFO] \- org.apache.flink:flink-java:jar:1.2.0:compile
> [INFO] \- org.apache.flink:flink-shaded-hadoop2:jar:1.2.0:compile
> [INFO] \- org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.4:compile
> [INFO]
> ------------------------------------------------------------------------
> {code}
> Error log:
> {code}
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Beam :: Runners :: Flink :: Core 0.6.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.4 is
> missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Beam :: Runners :: Flink .................... SUCCESS [ 0.873
> s]
> [INFO] Apache Beam :: Runners :: Flink :: Core ............ FAILURE [ 0.884
> s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.334 s
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project beam-runners-flink_2.10: Could not
> resolve dependencies for project
> org.apache.beam:beam-runners-flink_2.10:jar:0.6.0-SNAPSHOT: Failure to find
> org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.4 in
> https://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]
> {code}
> By adding cloudera repo matching the repo listed in flink 1.2.0 pom.xml, the
> dependency can be located and build passes. I'll push PR for review,
> assuming this solution is preferred.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)