Read csv file in Apache Spark from remote location (ftp)

后端 未结 1 1762
猫巷女王i
猫巷女王i 2021-01-28 03:06

I have a file in a Ubuntu machine which I want to read in Apache spark .

I found this example :

object BasicTextFromFTP {
    def main(args: Array[String         


        
1条回答
  •  深忆病人
    2021-01-28 03:55

    Basic structure of the URL is a schema type (here ftp) followed by

    //:@:/
    

    where every part excluding host can be omitted.

    0 讨论(0)
提交回复
热议问题