I am having a 2 GB data in my HDFS.
2 GB
HDFS
Is it possible to get that data randomly. Like we do in the Unix command line
cat iris2.cs
hadoop fs -cat /user/hive/warehouse/vamshi_customers/* |tail
I think the head part is working as per the answer posted by @Viacheslav Rodionov works fine but for the tail part the one that I posted is working good.