Re: scala: java.net.BindException?

2014-10-16 Thread Duy Huynh
thanks marcelo. i only instantiated sparkcontext once, at the beginning, in this code. the exception was thrown right at the beginning. i also tried to run other programs, which worked fine previously, but now also got the same error. it looks like it put "global block" on creating sparkcontext

Re: scala: java.net.BindException?

2014-10-16 Thread Marcelo Vanzin
This error is not fatal, since Spark will retry on a different port.. but this might be a problem, for different reasons, if somehow your code is trying to instantiate multiple SparkContexts. I assume "nn.SimpleNeuralNetwork" is part of your application, and since it seems to be instantiating a ne

scala: java.net.BindException?

2014-10-16 Thread ll
hello... does anyone know how to resolve this issue? i'm running this locally on my computer. keep getting this BindException. much appreciated. 14/10/16 17:48:13 WARN component.AbstractLifeCycle: FAILED SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address already in use java.ne