Re: Example PopularPlacesFromKafka fails to run

2018-03-23 Thread Fabian Hueske
Thanks for the feedback! Fabian 2018-03-23 8:02 GMT+01:00 James Yu : > Hi, > > When I proceed further to timePrediction exercise (http://training.data- > artisans.com/exercises/timePrediction.html), I realize that the > nycTaxiRides.gz's > format is fine. > The problem is in TaxiRide.toString()

Re: Example PopularPlacesFromKafka fails to run

2018-03-23 Thread James Yu
Hi, When I proceed further to timePrediction exercise ( http://training.data-artisans.com/exercises/timePrediction.html), I realize that the nycTaxiRides.gz's format is fine. The problem is in TaxiRide.toString(), the columns were serialized in wrong order. Hence the data persisted in Kafka has wr

Re: Example PopularPlacesFromKafka fails to run

2018-03-22 Thread James Yu
Just figured out the data format in nycTaxiRides.gz doesn't match to the way TaxiRide.java interpreting the lines fed into it. Then I check the exercise training github and found the TaxiRide.java ( https://github.com/dataArtisans/flink-training-exercises/tree/master/src/main/java/com/dataartisans/