Hello,

Earlier today, I was able to get a Flink cluster running, and successfully
ran the wordcount jar file in the examples folder.

I then tried to compile the WordCount example using sbt found here:
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/scala_api_quickstart.html#alternative-build-tools-sbt

and could not resolve the sbt dependencies listed on that page.  More
specifically, I did the following steps:
-- Created a directory with the WordCountJob.scala file copied and pasted
from the above link
-- Created a build.sbt file (scala -version told me that I have 2.9.2
installed)
name := "sbt-test"

version := "1.0"

scalaVersion := "2.9.2"

libraryDependencies ++= Seq(
        "org.apache.flink" % "flink-scala" % "0.10-SNAPSHOT",
        "org.apache.flink" % "flink-clients" % "0.10-SNAPSHOT")

fork in run := true


I then ran
sbt
> compile
and got the error:
::::::::::::::::::::::::::::::::::::::::::::::
[warn]     ::          UNRESOLVED DEPENDENCIES         ::
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     :: org.apache.flink#flink-scala;0.10-SNAPSHOT: not found
[warn]     :: org.apache.flink#flink-clients;0.10-SNAPSHOT: not found
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]

I then installed Fink on my local Mac laptop, and the same problem:  I was
able to run the wordcount jar file, but had the same issue when trying to
build using sbt

Thank you,
Dan

Reply via email to