Address already in use issue while running spark-submit

Hi,

I am getting the subjected error when running a spark job in spark-submit mode.
the same program is running fine in eclipse.

Could you please advise?


The log has been attached for your reference.

Thanks for your help.

Regards,
Raouf

One of the way to handle this WARNING is ensuring previous sc’s are stopped.

You can add sc.stop() in your spark application.

it is already there in my spark application