Tom Haines created BEAM-1558:
--------------------------------
Summary: Cloudera repository is missing
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)