Saturday, 2 January 2016

Hadoop: text: output file in Text format

“text” command takes a source file and outputs the file in text format. The allowed formats are zip and TextRecordInputStream.

Usage:
hadoop fs [generic options] -text [-ignoreCrc] <src> ...

Example
$ hadoop fs -text /Users/harikrishna_gurram/sample.zip

Above command displays the zip file in text format.




Previous                                                 Next                                                 Home

No comments:

Post a Comment