recent

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.
Powered by Blogger.