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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -