I am a little confused by your question… Are you trying to ingest a file from 
S3?

If so… look for net.jgp.labs.spark on GitHub and look for 
net.jgp.labs.spark.l000_ingestion.l001_csv_in_progress.S3CsvToDataset 

You can modify the file as the keys are yours…

If you want to download first: look at 
net.jgp.labs.spark.l900_analytics.ListNCSchoolDistricts

jgp

> On Oct 29, 2017, at 22:20, onoke <onoke...@gmail.com 
> <mailto:onoke...@gmail.com>> wrote:
> 
> Hi,
> 
> I am searching a useful API for getting a data URL that is accessed by a
> application on Spark.
> For example, when this URL is in a application
> 
>       new
> URL("https://s3.amazonaws.com/apache-zeppelin/tutorial/bank/bank.csv 
> <https://s3.amazonaws.com/apache-zeppelin/tutorial/bank/bank.csv>")
> 
> How to get this url from using Spark API?
> I looked in org.apach.api.java and org.apache.spark.status.api.v1, but they
> do not provide any URL info.
> 
> Any advice are welcome.
> 
> -Keiji 
> 
> 
> 
> --
> Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ 
> <http://apache-spark-user-list.1001560.n3.nabble.com/>
> 
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org 
> <mailto:user-unsubscr...@spark.apache.org>
> 

Reply via email to