Re: datastream.print() doesn't works

2017-08-31 Thread AndreaKinn
I verified I use just one environment. Unfortunately, (also without using start-local.sh) /callingcreateLocalEnvironmentWithWebUI()/ and run the program from the IDE anyway no one running jobs is listed in the dashboard at /http://localhost:8081/#/overview/. In the ide it is correctly executed me

Re: datastream.print() doesn't works

2017-08-31 Thread Chesnay Schepler
If you call createLocalEnvironmentWithWebUI you don't need to start a cluster with the start-local.sh script, you can run it from the IDE and it will start the web UI. If you submit a job to a cluster that was started outside the IDE you can call getExecutionEnvironment as usual. Not sure why t

Re: datastream.print() doesn't works

2017-08-31 Thread AndreaKinn
I call env.execute(). What do you mean for "configure the logger?" Timo Walther wrote > Don't forget to call env.execute() at the end and make sure you have > configured your logger correctly. > > Regards, > Timo > > Am 29.08.17 um 14:59 schrieb Chesnay Schepler: >> The easiest explanation is

Re: datastream.print() doesn't works

2017-08-30 Thread AndreaKinn
Hi, in the night uninstalling and re-installing maven and flink I solved my issue. I started the web dashboard using start-local.sh script and used /createLocalEnvironmentWithWebUI(new Configuration())/ as you suggested. Anyway when I start it in eclipse in the ui dashboard no running jobs are sho

Re: datastream.print() doesn't works

2017-08-29 Thread AndreaKinn
Using mvn clean now I obtain: Error: Could not find or load main class org.apache.flink.mainProgram.StreamingJob -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/datastream-print-doesn-t-works-tp15223p15239.html Sent from the Apache Flink

Re: datastream.print() doesn't works

2017-08-29 Thread Chesnay Schepler
I'm afraid I don't know anything about eclipse. Running mvn clean package will first delete all files in the /target directory, and then recompile your code to that very location. It shouldn't affect an IDE in a way that isn't resolvable by rebuilding the project in it. You could also try re-im

Re: datastream.print() doesn't works

2017-08-29 Thread AndreaKinn
Chesnay Schepler wrote > The easiest explanation is that there is nothing to print. > > Since print statements within the select function don't appear in the > logs I assume > that the result of HTM.learn is empty. > > Please check via the webUI or metrics whether any of these operations > actu

Re: datastream.print() doesn't works

2017-08-29 Thread Timo Walther
Don't forget to call env.execute() at the end and make sure you have configured your logger correctly. Regards, Timo Am 29.08.17 um 14:59 schrieb Chesnay Schepler: The easiest explanation is that there is nothing to print. Since print statements within the select function don't appear in the

Re: datastream.print() doesn't works

2017-08-29 Thread Chesnay Schepler
The easiest explanation is that there is nothing to print. Since print statements within the select function don't appear in the logs I assume that the result of HTM.learn is empty. Please check via the webUI or metrics whether any of these operations actually return records. On 29.08.2017

datastream.print() doesn't works

2017-08-29 Thread AndreaKinn
Hi, I have a simple datastream of a Tuple2. Unfortunately when I call the print() method. No one output is showed although no errors or exceptions are raised. I want to highlight that I have also other data streams which are correctly printed. This is the stream: /DataStream> result = HTM.learn(