[ 
https://issues.apache.org/jira/browse/SPARK-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin updated SPARK-2151:
-------------------------------

    Description: 
Get this exception when invoking spark-submit in standalone cluster mode:

{code}
Exception in thread "main" java.lang.NumberFormatException: For input string: 
"38g"
        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.ClientArguments.parse(ClientArguments.scala:55)
        at 
org.apache.spark.deploy.ClientArguments.<init>(ClientArguments.scala:47)
        at org.apache.spark.deploy.Client$.main(Client.scala:148)
        at org.apache.spark.deploy.Client.main(Client.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:292)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
{code}

  was:
Get this exception when invoking spark-submit in standalone cluster mode:

Exception in thread "main" java.lang.NumberFormatException: For input string: 
"38g"
        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.ClientArguments.parse(ClientArguments.scala:55)
        at 
org.apache.spark.deploy.ClientArguments.<init>(ClientArguments.scala:47)
        at org.apache.spark.deploy.Client$.main(Client.scala:148)
        at org.apache.spark.deploy.Client.main(Client.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:292)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)



> spark-submit issue (int format expected for memory parameter)
> -------------------------------------------------------------
>
>                 Key: SPARK-2151
>                 URL: https://issues.apache.org/jira/browse/SPARK-2151
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Nishkam Ravi
>             Fix For: 1.0.1, 1.1.0
>
>
> Get this exception when invoking spark-submit in standalone cluster mode:
> {code}
> Exception in thread "main" java.lang.NumberFormatException: For input string: 
> "38g"
>       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.ClientArguments.parse(ClientArguments.scala:55)
>       at 
> org.apache.spark.deploy.ClientArguments.<init>(ClientArguments.scala:47)
>       at org.apache.spark.deploy.Client$.main(Client.scala:148)
>       at org.apache.spark.deploy.Client.main(Client.scala)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:292)
>       at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
>       at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to