Open jrabary opened 10 years ago
I'm not sure where it is being applied but the WebApi implicit val ShortTimeout of 3 seconds is what is timing out, while waiting for local context creation (which takes about 5 seconds). Increasing it to 10 seconds allows enough time for the context to be created and the job to be launched.
There is no indication of the timeout in the log while the local context is being created. Instead, the context is left waiting; subsequently launching the same job in that context succeeds with the context being closed after job completion.
The timeout value should be configurable and the timeout should be logged.
Agreed with both.
On Thu, Nov 20, 2014 at 5:33 AM, David Resnick notifications@github.com wrote:
I'm not sure where it is being applied but the WebApi implicit val ShortTimeout of 3 seconds is what is timing out, while waiting for local context creation (which takes about 5 seconds). Increasing it to 10 seconds allows enough time for the context to be created and the job to be launched.
There is no indication of the timeout in the log while the local context is being created. Instead, the context is left waiting; subsequently launching the same job in that context succeeds with the context being closed after job completion.
The timeout value should be configurable and the timeout should be logged.
— Reply to this email directly or view it on GitHub https://github.com/ooyala/spark-jobserver/issues/70#issuecomment-63808015 .
The fruit of silence is prayer; the fruit of prayer is faith; the fruit of faith is love; the fruit of love is service; the fruit of service is peace. -- Mother Teresa
I'm facing the same issue. Also asked on google group : https://groups.google.com/forum/#!topic/spark-jobserver/BP3mnPe9V0A
Any updates?
I get the following error when trying to run the wordCount example :
And here is the log