Saturday 2 January 2016

Hadoop : cat : display contents of a file

“cat” command is used to display contents of a file

Usage:

hadoop fs [generic options] -cat [-ignoreCrc] <src> ...

$hadoop fs -cat /user/cloudera/demo4/b.txt
aaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbb
 
Previous                                                 Next                                                 Home

No comments:

Post a Comment