head
Displays the first kilobyte of the file to stdout.
Returns 0 on success and -1 on error.
The usage is as follows:
$ hadoop fs -head URI
Example:
$ hadoop fs -head pathname
Displays the first kilobyte of the file to stdout.
Returns 0 on success and -1 on error.
The usage is as follows:
$ hadoop fs -head URI
Example:
$ hadoop fs -head pathname