New Want to Write for Computaholics ? if Yes Contact us at ""

hadoop fs -text

Usage: hadoop fs -text <src>
hadoop fs -text /hdfs_dir/* >> /local_dir/localfile.txt
--Takes a source file and outputs the file in text format. The allowed formats are zip and TextRecordInputStream.
--This will display the content of the hdfs file ( But text only work with zip and TextRecordInputStream formats like SequenceFieFormat).
Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics