Hi my Flink friends,
I have several problems regarding the execution of my first Apache Flink Job. I did all the steps of this "1-handsOn-Tutorial": https://dataartisans.github.io/flink-training/dataStream/1-handsOn.html
I worked with IntelliJ (at the end I used the sample solution "RideCleansing.java"), build the JAR via Maven succesfully (mvn clean package), downloaded the sample data and started Flink (./bin/start-local.bat).
I tried 2 ways to start the Flink program:
- From command line
./bin/flink run -c com.dataartisans.flinktraining.exercises.datastream_java.basics.RideCleansing /path/flink-training-exercises/target/flink-training-exercises-0.5.jar --input file:///Users/full_user_name/Downloads/nycTaxiRides.gz
But following error occurs:
./bin/flink: line 55: C:\Program: No such file or directory
So I think here are some problems with the whitespace between "Program Files"... My JAVA_HOME is referring to C:\Program Files\Java\jdk1.8.0_131 . What do you mean is wrong here?
- From Web Dashboard I uploaded the flink-training-exercises-0.5.jar under the "Submit new Job" panel, referred to the main class and refer to the sample data.
In this case the program runs a step further but ends with an exception:
Caused by: java.lang.ClassNotFoundException:
org.joda.time.format.DateTimeFormatter
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 58 more
Can you tell me what's wrong and what's going on here? Did I forgot some steps? Why this joda class can't be found?