Problem with starting Flink "start-local.sh" on Server

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with starting Flink "start-local.sh" on Server

Saied Tehrani
Hi there,

I have successfully installed Apache Flink on my local machine. I am trying to install Apache Flink on a virtual server on "Google Cloud Platform".

I have followed this tutorial to run Apache Flink on a server, but it doesn't seem to work:

http://flink.incubator.apache.org/docs/0.7-incubating/setup_quickstart.html


I run the command "flink-0.8-incubating-SNAPSHOT/bin/start-local.sh" and get the following message:

> Starting job manager


If I run the command "nc -vz localhost 8081" I get:

> localhost [127.0.0.1] 8081 (tproxy) : Connection refused


but it should actually deliver something like this, which I get on my local machine:

> Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!


If I run "flink-0.8-incubating-SNAPSHOT/bin/stop-local.sh" I get:

> No job manager to stop


So it seems it was not running in the first place. Any ideas why that might be the case?

Cheers
Reply | Threaded
Open this post in threaded view
|

Re: Problem with starting Flink "start-local.sh" on Server

Fabian Hueske
Hi,

did you check the files files in ./log?
The .log and .out files contain the Flink's log output and the redirected
standard out and should help to figure out what is going wrong at system
start.

Cheers, Fabian


2014-11-15 21:30 GMT+01:00 Saied Tehrani <[hidden email]>:

> Hi there,
>
> I have successfully installed Apache Flink on my local machine. I am trying
> to install Apache Flink on a virtual server on "Google Cloud Platform".
>
> I have followed this tutorial to run Apache Flink on a server, but it
> doesn't seem to work:
>
> http://flink.incubator.apache.org/docs/0.7-incubating/setup_quickstart.html
>
>
> I run the command "flink-0.8-incubating-SNAPSHOT/bin/*start-local.sh*" and
> get the following message:
>
> > /Starting job manager/
>
>
> If I run the command "*nc -vz localhost 8081*" I get:
>
> > /localhost [127.0.0.1] 8081 (tproxy) : Connection refused/
>
>
> but it should actually deliver something like this, which I get on my local
> machine:
>
> > /Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!/
>
>
> If I run "flink-0.8-incubating-SNAPSHOT/bin/*stop-local.sh*" I get:
>
> > /No job manager to stop/
>
>
> So it seems it was not running in the first place. Any ideas why that might
> be the case?
>
> Cheers
>
>
>
> --
> View this message in context:
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Problem-with-starting-Flink-start-local-sh-on-Server-tp2518.html
> Sent from the Apache Flink (Incubator) Mailing List archive. mailing list
> archive at Nabble.com.
>