Please take a look at downloadFile() method in ./core/src/main/scala/org/apache/spark/util/Utils.scala
You can find usage in doFetchFile(). FYI On Tue, Mar 17, 2015 at 6:52 AM, Hafiz Mujadid <[email protected]> wrote: > Hi experts! > > > Is there any api in spark to download data from url? I want to download > data > from url in a spark application. I want to get downloading on all nodes > instead of a single node. > > Thanks > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Downloading-data-from-url-tp22102.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
