Search

hadoop fs -tail

Hadoop tail command prints the last kilobytes of the file. The -f option can be used same as in unix.
> hafoop fs -tail /user/DPhadoop/sales.dat
12345 abc
2456 xyz