Re: src/main/resources/kv1.txt not found in example of HiveFromSpark

2014-11-05 Thread Marcelo Vanzin
Yeah, the code looks for the file in the source location, not in the packaged location. It's in the root of the examples jar; you can extract it to "src/main/resources/ kv1.txt" in the local directory (creating the subdirs) and then you can run the example. Probably should be fixed though (bonus i

src/main/resources/kv1.txt not found in example of HiveFromSpark

2014-11-04 Thread Qiuzhuang Lian
When running HiveFromSpark example via run-example shell, I got error, FAILED: SemanticException Line 1:23 Invalid path ''src/main/resources/kv1.txt'': No files matching path file:/home/kand/javaprojects/spark/src/main/resources/kv1.txt == END HIVE FAILURE OUTPUT =