You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Mihail Vieru <vi...@informatik.hu-berlin.de> on 2015/03/05 22:35:23 UTC

How to start a TaskManager and the Flink Query Interface from Scala IDE (local run configuration)

Hi all,

I want to start Flink from the Scala IDE by using a local run 
configuration similar to one I've used for Stratosphere 0.4.

The entry point for the Scala application is: 
*org.apache.flink.runtime.jobmanager.JobManager*
With the program arguments:

--configDir 
/home/vieru/dev/flink-from-src/flink/flink-dist/target/flink-0.9-SNAPSHOT-bin/flink-0.9-SNAPSHOT/conf 
--executionMode LOCAL

and JVM arguments:

-Dlog4j.configuration=file:///home/vieru/dev/flink-from-src/flink/flink-dist/target/flink-0.9-SNAPSHOT-bin/flink-0.9-SNAPSHOT/conf/log4j.properties3

The problem is that the TaskManager and the Flink Query Interface don't 
start with this configuration.
How do I get them running?

Best,
Mihail

Re: How to start a TaskManager and the Flink Query Interface from Scala IDE (local run configuration)

Posted by Robert Metzger <rm...@apache.org>.
Hey,

I think that looks correct. Are you getting any error messages?
Whats the logging level you've configured?


Robert

On Thu, Mar 5, 2015 at 10:35 PM, Mihail Vieru <vieru@informatik.hu-berlin.de
> wrote:

>  Hi all,
>
> I want to start Flink from the Scala IDE by using a local run
> configuration similar to one I've used for Stratosphere 0.4.
>
> The entry point for the Scala application is:
> *org.apache.flink.runtime.jobmanager.JobManager*
> With the program arguments:
>
> --configDir
> /home/vieru/dev/flink-from-src/flink/flink-dist/target/flink-0.9-SNAPSHOT-bin/flink-0.9-SNAPSHOT/conf
> --executionMode LOCAL
>
> and JVM arguments:
>
> -Dlog4j.configuration=
> file:///home/vieru/dev/flink-from-src/flink/flink-dist/target/flink-0.9-SNAPSHOT-bin/flink-0.9-SNAPSHOT/conf/log4j.properties3
> <?ui=2&ik=3c2dd015d1&view=fimg&th=14bebddc5736ffb4&attid=0.1.1&disp=emb&attbid=ANGjdJ8U-YXVrTbR0PxmNjseWKVjrSBbzD_8Ev8VuHz3GzKlF9X4iNegXxH9Ew_27xx1sbOaCMfkfOHRKX2z5g2ZB1D4gPw9Uunk_Hzpdoj9h2sThQ4yTlLIeyihstM&sz=s0-l75-ft&ats=1425630514471&rm=14bebddc5736ffb4&zw&atsh=0>
>
> The problem is that the TaskManager and the Flink Query Interface don't
> start with this configuration.
> How do I get them running?
>
> Best,
> Mihail
>