Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

copy files from FTP to HDFS

Tags:

ftp

hadoop

I need to copy files from FTP sever outside my cluster to Hadoop i.e HDFS.

Thanks in advance.

like image 512
uttam palkar Avatar asked Feb 13 '23 10:02

uttam palkar


1 Answers

Have you tried this? FTP TO HDFS ... You can modify this code and change arguments for File to be FTP a agrs[0] and HDFS Paht to args[1]. and than run it as hadoop jar. hope this'll help...

like image 153
Ronak Patel Avatar answered Feb 15 '23 23:02

Ronak Patel