Thanks Ufuk, for the input. I tried what u suggested as well ( as follows)

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

                StreamExecutionEnvironment env =
StreamExecutionEnvironment.createLocalEnvironment(getP, config);

But still i get nothing, i tried 127.0.0.1:8081 and localhost:8081 both as I
was getting this message in my log "No hostname could be resolved for the IP
address 127.0.0.1, using IP address as host name."

But still nothing. 

Anything else I can try, before installing flink and running it via command
line? 

Thanks for such quick replie btw :)

Biplob

Ufuk Celebi wrote
> 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 <

> sameer@

> > 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 <

> revolutionisme@

> >
>> 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.
>>
>>





--
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-tp8016p8020.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at 
Nabble.com.

Reply via email to