flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximilian Michels <...@apache.org>
Subject Re: Google Compute Engine Cluster
Date Wed, 15 Apr 2015 09:48:00 GMT
Hi Giacomo,

Have you tried setting up Flink on GCE using bdutil? It is very easy:
http://ci.apache.org/projects/flink/flink-docs-master/gce_setup.html

If you don't want to use bdutil:
I'm assuming you want to start Flink using the "start_cluster.sh" script
which uses ssh to start the task managers on the workers. By default,
instances on GCE are not authenticated via ssh with each other. Using the
gcloud tool, you can configure an ssh key on all hosts (gcloud compute
config-ssh) which lets you ssh into all instances. To enable public key ssh
authentication between your GCE nodes, I'd advise to create a new key on
your machine for just this purpose and then distribute the key (public and
private) to the master. Then add the public key to all worker nodes's
"authorized_keys" file from your machine.


Best,
Max

On Wed, Apr 15, 2015 at 11:22 AM, Giacomo Licari <giacomo.licari@gmail.com>
wrote:

> Hi guys,
> I'm trying to setup a simple Flink cluster on Google Compute Engine.
>
> I'm running 3 nodes (1 master, 2 workers).
>
> On master node I set up ssh key and moved it into authorized_keys.
>
> When I try to copy my key to each worker node I got Permission denied
> (publickey).
>
> Someone had the same problem?
> Thanks for your help.
>

Mime
View raw message