Re: How can I read ftp

2021-08-09 Thread Паша
We have solved it using an orchestrator, which copied data from FTP to HDFS. But of course, you can just use a Java FTP client to just read files, put them somewhere, and then read with Spark. пн, 9 авг. 2021 г. в 06:39, Sean Owen : > FTP is definitely not supported. Read the files to distributed

Re: How can I read ftp

2021-08-08 Thread Sean Owen
FTP is definitely not supported. Read the files to distributed storage first then read from there. On Sun, Aug 8, 2021, 10:18 PM igyu wrote: > val ftpUrl = "ftp://ftpuser:ftpuser@10.3.87.51:21/sparkftp/"; > > val schemas = StructType(List( > new StructField("name", DataTypes.StringType,