I am working on submitting spl query via livy. And now I have the following questions:
1. The Job return type problem. When I set Integer or Double as Job returning type , it works well. But if I change return data type to something like List<String>, it throw the following error:
caused by: java.langu.NullPointerException
2. In sample code, it contains
System.err.printf("Uploading %s to the Spark context...\n", piJar);
I want to know do I have to use uploadJar or addJar method here? What I need is to running some spark code like in zeppelin or Hue. But in this step it seems need I to compile my spark code firstly and submit the jar.