You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/06/20 02:12:24 UTC
[jira] [Resolved] (SPARK-2151) spark-submit issue (int format
expected for memory parameter)
[ https://issues.apache.org/jira/browse/SPARK-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-2151.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
1.0.1
Assignee: Nishkam Ravi
> 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
> Assignee: 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)