You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by ", Roy" <rp...@njit.edu> on 2015/03/24 20:43:31 UTC

FAILED SelectChannelConnector@0.0.0.0:4040 java.net.BindException: Address already in use

I get following message for each time I run spark job


   1. 15/03/24 15:35:56 WARN AbstractLifeCycle: FAILED
   SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address
   already in use


full trace is here

http://pastebin.com/xSvRN01f

how do I fix this ?

I am on CDH 5.3.1

thanks
roy

Re: FAILED SelectChannelConnector@0.0.0.0:4040 java.net.BindException: Address already in use

Posted by ", Roy" <rp...@njit.edu>.
Yes I do have other application already running.

Thanks for your explanation.



On Wed, Mar 25, 2015 at 2:49 AM, Akhil Das <ak...@sigmoidanalytics.com>
wrote:

> It means you are already having 4 applications running on 4040, 4041,
> 4042, 4043. And that's why it was able to run on 4044.
>
> You can do a *netstat -pnat | grep 404* *And see what all processes are
> running.
>
> Thanks
> Best Regards
>
> On Wed, Mar 25, 2015 at 1:13 AM, , Roy <rp...@njit.edu> wrote:
>
>> I get following message for each time I run spark job
>>
>>
>>    1. 15/03/24 15:35:56 WARN AbstractLifeCycle: FAILED
>>    SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address
>>    already in use
>>
>>
>> full trace is here
>>
>> http://pastebin.com/xSvRN01f
>>
>> how do I fix this ?
>>
>> I am on CDH 5.3.1
>>
>> thanks
>> roy
>>
>>
>>
>

Re: FAILED SelectChannelConnector@0.0.0.0:4040 java.net.BindException: Address already in use

Posted by Akhil Das <ak...@sigmoidanalytics.com>.
It means you are already having 4 applications running on 4040, 4041, 4042,
4043. And that's why it was able to run on 4044.

You can do a *netstat -pnat | grep 404* *And see what all processes are
running.

Thanks
Best Regards

On Wed, Mar 25, 2015 at 1:13 AM, , Roy <rp...@njit.edu> wrote:

> I get following message for each time I run spark job
>
>
>    1. 15/03/24 15:35:56 WARN AbstractLifeCycle: FAILED
>    SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address
>    already in use
>
>
> full trace is here
>
> http://pastebin.com/xSvRN01f
>
> how do I fix this ?
>
> I am on CDH 5.3.1
>
> thanks
> roy
>
>
>

Re: FAILED SelectChannelConnector@0.0.0.0:4040 java.net.BindException: Address already in use

Posted by Marcelo Vanzin <va...@cloudera.com>.
Does your application actually fail?

That message just means there's another application listening on that
port. Spark should try to bind to a different one after that and keep
going.

On Tue, Mar 24, 2015 at 12:43 PM, , Roy <rp...@njit.edu> wrote:
> I get following message for each time I run spark job
>
> 15/03/24 15:35:56 WARN AbstractLifeCycle: FAILED
> SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address already
> in use
>
>
> full trace is here
>
> http://pastebin.com/xSvRN01f
>
> how do I fix this ?
>
> I am on CDH 5.3.1
>
> thanks
> roy
>
>



-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org