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
Working code:
hadoop fs -cat /tmp/a/b/20200630.xls | head -n 10 hadoop fs -cat /tmp/a/b/20200630.xls | tail -3