You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by ji...@wipro.com on 2014/09/24 13:11:17 UTC

Re: java.lang.NumberFormatException while starting spark-worker

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

Re: java.lang.NumberFormatException while starting spark-worker

Posted by Victor Tso-Guillen <vt...@paxata.com>.
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, <ji...@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
>