hadoop fs put

Usage: hadoop fs -put <localsrc> ... <dst>
hadoop fs -put localfile /user/hadoop/hadoopfile
hadoop fs -put localfile1 localfile2 /user/hadoop/hadoopdir
hadoop fs -put localfile hdfs://nn.example.com/hadoop/hadoopfile
hadoop fs -put - hdfs://nn.example.com/hadoop/hadoopfile Reads the input from stdin.
--Copy single src, or multiple srcs from local file system to the destination file system. Also reads input from stdin and writes to destination file system.
Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics