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

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -