I am new to Hadoop and wanted to know the easiest way for someone to save a word document file that automatically gets sent to HDFS
Asked
Active
Viewed 108 times
1 Answers
1
In order to put data on your HDFS you need to execute some command lines. This link (http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/FileSystemShell.html) is describing what you need and the command should be :
hdfs dfs -put localfile /user/hadoop/hadoopfile
PS : If you want the transfert to be automatic, you could write a bash script

Ko2r
- 1,541
- 1
- 11
- 24
-
A bash script is program write with the bash langage. It allow you to automate some tasks with ease but you have to learn the langage [here](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html) – Ko2r Jun 12 '14 at 15:40