flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Kruber <n...@data-artisans.com>
Subject Re: Getting JobManager address and port within a running job
Date Thu, 03 Aug 2017 13:30:20 GMT
Assuming, from your previous email, that you fire up a LocalFlinkMiniCluster: 
this, afaik, does not process flink-conf.yaml but only the configuration given 
to it.

If you start a "real" flink cluster, e.g. by bin/start-cluster.sh, it will show 
the behaviour you desired.


Nico

On Thursday, 3 August 2017 13:20:37 CEST Biplob Biswas wrote:
> Hi,
> 
> Is there a way to fetch the jobmanager address and port from a running flink
> job, I was expecting the address and port to be constant but it changes
> everytime I am running a job. ANd somehow its not honoring the
> jobmanager.rpc.address and jobmanager.rpc.port set in the flink-conf.yaml
> file.
> 
> If I can get the address within the job itself, I can set it up based on
> that value.
> 
> Thanks & regards
> Biplob
> 
> 
> 
> 
> --
> View this message in context:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Getting
> -JobManager-address-and-port-within-a-running-job-tp14656.html Sent from the
> Apache Flink User Mailing List archive. mailing list archive at Nabble.com.


Mime
View raw message