You can explicitly create a LocalEnvironment and provide a Configuration:

Configuration config = new Configuration();
config.setBoolean(ConfigConstants.LOCAL_START_WEBSERVER, true);

ExecutionEnvironment env = new LocalEnvironment(config);
...


On Tue, Jul 19, 2016 at 1:28 PM, Sameer W <sam...@axiomine.com> wrote:
> From Eclipse it creates a local environment and runs in the IDE. When the
> program finishes so does the Flink execution instance. I have never tried
> accessing the console when the program is running but one the program is
> finished there is nothing to connect to.
>
> If you need to access the dashboard, start Flink in the pseudo-cluster mode
> and connect to it using the getRemoteExecutionEnvironment(). That will allow
> you to access the jobs statuses on the dashboard when you finish running
> your job.
>
> Sameer
>
> On Tue, Jul 19, 2016 at 6:35 AM, Biplob Biswas <revolutioni...@gmail.com>
> wrote:
>>
>> Hi,
>>
>> I am running my flink program using Eclipse and I can't access the
>> dashboard
>> at http://localhost:8081, can someone help me with this?
>>
>> I read that I need to check my flink-conf.yaml, but its a maven project
>> and
>> I don't have a flink-conf.
>>
>> Any help would be really appreciated.
>>
>> Thanks a lot
>> Biplob
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Can-t-access-Flink-Dashboard-at-8081-running-Flink-program-using-Eclipse-tp8016.html
>> Sent from the Apache Flink User Mailing List archive. mailing list archive
>> at Nabble.com.
>
>

Reply via email to