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:

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