Hi,
I’m using zepplin and the viz are very nice but I would like to try other viz locally.
Is there a way to download the result locally?
Noé
Hi,
I’m using zepplin and the viz are very nice but I would like to try other viz locally.
Is there a way to download the result locally?
Noé
Hi Noe,
There are two ways for exporting the results of your Spark application:
NOTE: You can use SparkSQL (livy.sql) on both Hive tables and your DataFrames variables.
MyData.write.json("/user/YOUR_USERNAME/TARGET_DIRECTORY")
Here is the link for more details/options:
https://spark.apache.org/docs/latest/sql-programming-guide.html#generic-loadsave-functions
If your data is RDD, you can use saveAsTextFile:
rdd.saveAsTextFile(outputDirectory);
Let me know if you have any question,