New Want to Write for Computaholics ? if Yes Contact us at "contact@computaholics.in"

hadoop fs -appendToFile

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