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
Found a mistake? Seleсt text and press Ctrl+Enter to report it