In Hadoop fs how to lookup the block size for a particular file?
I was primarily interested in a command line, something like:
hadoop fs ... hdfs://fs1.d
Try to code below
path=hdfs://a/b/c size=`hdfs dfs -count ${path} | awk '{print $3}'` echo $size