When using spark-submit, I need to send the dependencies with --packages. Which package should I use?
I tried making an uber jar which contain the dependencies, but I get the following error:
java.lang.IllegalArgumentException: Please specify an existing file
The error is the result of the following code:
String path = "hdfs:///user/data.txt";
SentenceIterator iter = new LineSentenceIterator(new File(path));