tail
Displays the last kilobyte of the file to stdout.
Returns 0
on success and -1
on error.
The usage is as follows:
$ hadoop fs -tail [-f] URI
-f |
Outputs appended data as the file grows, as in Unix |
Example:
$ hadoop fs -tail pathname
Displays the last kilobyte of the file to stdout.
Returns 0
on success and -1
on error.
The usage is as follows:
$ hadoop fs -tail [-f] URI
-f |
Outputs appended data as the file grows, as in Unix |
Example:
$ hadoop fs -tail pathname