submit spark job with spcified file for driver

2016-02-04 Thread alexeyy3
Is it possible to specify a file (with key-value properties) when submitting
spark app with spark-submit? Some mails refers to the key --file, but docs.
does not mention it.
If you can specify a file, how to access it from spark job driver?

Thank you, Alexey



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/submit-spark-job-with-spcified-file-for-driver-tp26153.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Unsupported major.minor version 51.0

2015-08-11 Thread alexeyy3
I found some discussions online, but it all cpome to advice to use JDF 1.7
(or 1.8).
Well, I use JDK 1.7 on OS X Yosemite .  Both 
java –verion //
java version 1.7.0_80
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
and 
echo $JAVA_HOME//
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
show JDK 1.7.  
But for the Spark 1.4.1.  (and for Spark 1.2.2, downloaded 07/10/2015, I
have  the same error when build with maven ()  (as sudo mvn -DskipTests -X
clean package  abra.txt)
Exception in thread main java.lang.UnsupportedClassVersionError:
org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0

Please help how to build the thing.
Thanks
Alexey



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Unsupported-major-minor-version-51-0-tp24215.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org