You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2015/07/09 01:53:04 UTC

[jira] [Created] (SPARK-8929) [Windows] Application with Appname including whiteSpace fails in Yarn-client mode

Yesha Vora created SPARK-8929:
---------------------------------

             Summary: [Windows] Application with Appname including whiteSpace fails in Yarn-client mode
                 Key: SPARK-8929
                 URL: https://issues.apache.org/jira/browse/SPARK-8929
             Project: Spark
          Issue Type: Bug
            Reporter: Yesha Vora


Some MachineLearning examples has space in App Name. These applications fail to start AM with yarn-client mode in Windows environment.

Affected Test example list:
* BinaryClassification
* Correlations
* DecisionTreeRunner
* DenseKmeans
* GradientBoostedTreesRunner
* LinearRegression
* MovieLensALS
* MultivariateSummarizer
* SampledRDDs
* SparseNaiveBayes

{code:title=SampledRDDs}
RUNNING: call spark-submit  --class org.apache.spark.examples.mllib.SampledRDDs --master yarn-client --properties-file c:\windows\temp\spark-defaults.conf --jars  spark-examples-*.jar  --input /tmp/sparkMLLInput/sample_binary_classification_data.txt 
{code}

{code:title=Fails to Start AM}
2015-06-13 22:07:27,526|beaver.machine|INFO|8888|7600|MainThread|Container id: container_e02_1434177640451_0029_02_000001
2015-06-13 22:07:27,526|beaver.machine|INFO|8888|7600|MainThread|Exit code: 9009
2015-06-13 22:07:27,528|beaver.machine|INFO|8888|7600|MainThread|Exception message: Usage: java [-options] class [args...]
2015-06-13 22:07:27,529|beaver.machine|INFO|8888|7600|MainThread|(to execute a class)
2015-06-13 22:07:27,529|beaver.machine|INFO|8888|7600|MainThread|or  java [-options] -jar jarfile [args...]
2015-06-13 22:07:27,529|beaver.machine|INFO|8888|7600|MainThread|(to execute a jar file)
2015-06-13 22:07:27,529|beaver.machine|INFO|8888|7600|MainThread|where options include:
2015-06-13 22:07:27,530|beaver.machine|INFO|8888|7600|MainThread|-d32	  use a 32-bit data model if available
2015-06-13 22:07:27,530|beaver.machine|INFO|8888|7600|MainThread|-d64	  use a 64-bit data model if available
2015-06-13 22:07:27,532|beaver.machine|INFO|8888|7600|MainThread|-server	  to select the "server" VM
2015-06-13 22:07:27,532|beaver.machine|INFO|8888|7600|MainThread|The default VM is server.
2015-06-13 22:07:27,532|beaver.machine|INFO|8888|7600|MainThread|
2015-06-13 22:07:27,532|beaver.machine|INFO|8888|7600|MainThread|-cp <class search path of directories and zip/jar files>
2015-06-13 22:07:27,533|beaver.machine|INFO|8888|7600|MainThread|-classpath <class search path of directories and zip/jar files>
2015-06-13 22:07:27,533|beaver.machine|INFO|8888|7600|MainThread|A ; separated list of directories, JAR archives,
2015-06-13 22:07:27,535|beaver.machine|INFO|8888|7600|MainThread|and ZIP archives to search for class files.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org