spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Failed to bind to: master/1xx.xx..xx:0
Date Fri, 27 Jun 2014 08:59:30 GMT
Hi Akhil,

The IP is correct and is able to start the workers when we start it as a java command.Its
becoming  when we call from the scripts.

Thanks & Regards, 
Meethu M

On Friday, 27 June 2014 1:49 PM, Akhil Das <> wrote:

why is it binding to port 0? :/

Check the ip address of that master machine (ifconfig) looks like the ip address has been
changed (hoping you are running this machines on a LAN)

Best Regards

On Fri, Jun 27, 2014 at 12:00 PM, MEETHU MATHEW <> wrote:

Hi all,
>My Spark(Standalone mode) was running fine till yesterday.But now I am getting  the following
exeception when I am running or
>slave3: failed to launch org.apache.spark.deploy.worker.Worker:
>slave3:   at java.util.concurrent.ThreadPoolExecutor$
>slave3:   at
>The log files has the following lines.
>14/06/27 11:06:30 INFO SecurityManager: Using Spark's default log4j profile: org/apache/spark/
>14/06/27 11:06:30 INFO SecurityManager: Changing view acls to: hduser
>14/06/27 11:06:30 INFO SecurityManager: SecurityManager: authentication disabled; ui acls
disabled; users with view permissions: Set(hduser)
>14/06/27 11:06:30 INFO Slf4jLogger: Slf4jLogger started
>14/06/27 11:06:30 INFO Remoting: Starting remoting
>Exception in thread "main" Failed to bind to:
>at org.jboss.netty.bootstrap.ServerBootstrap.bind(
>Caused by: Cannot assign requested address
>I saw the same error reported before and have tried the following solutions.
>Set the variable SPARK_LOCAL_IP ,Changed the SPARK_MASTER_PORT to a different number..But
nothing is working.
>When I try to start the worker from the respective machines using the following java command,its
running without any exception
>java -cp ::/usr/local/spark-1.0.0/conf:/usr/local/spark-1.0.0/assembly/target/scala-2.10/spark-assembly-1.0.0-hadoop1.2.1.jar
-XX:MaxPermSize=128m -Dspark.akka.logLifecycleEvents=true -Xms512m -Xmx512m org.apache.spark.deploy.worker.Worker
>Somebody please give a solution
>Thanks & Regards, 
>Meethu M
View raw message