Move files to HDFS using Spring XD -
how move files local disk hdfs using spring xd.
i not want contents , move whole file archival saves file original name , content.
here have tried
stream create --name fileapple --definition "file --mode=ref --dir=/users/dev/code/open/learnspringxd/input --pattern=apple*.txt | whattodohere"
i can see reference file names full path made available , how move hdfs.
you might want check this imports data files hdfs batch job , check if fits requirement. can check file | hdfs
stream if works you.
Comments
Post a Comment