Do you have a newline or some other strange character in an argument you pass to spark that includes that 61608?
On Wed, Sep 24, 2014 at 4:11 AM, <jishnu.prat...@wipro.com> wrote: > Hi , > *I am getting this weird error while starting Worker. * > > -bash-4.1$ spark-class org.apache.spark.deploy.worker.Worker > spark://osebi-UServer:59468 > Spark assembly has been built with Hive, including Datanucleus jars on > classpath > 14/09/24 16:22:04 INFO worker.Worker: Registered signal handlers for > [TERM, HUP, INT] > "xception in thread "main" java.lang.NumberFormatException: For input > string: "61608 > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > > at java.lang.Integer.parseInt(Integer.java:492) > at java.lang.Integer.parseInt(Integer.java:527) > at > scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229) > at scala.collection.immutable.StringOps.toInt(StringOps.scala:31) > at > org.apache.spark.deploy.worker.WorkerArguments.<init>(WorkerArguments.scala:38) > > at org.apache.spark.deploy.worker.Worker$.main(Worker.scala:376) > at org.apache.spark.deploy.worker.Worker.main(Worker.scala) > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com >