Hadoop fs lookup for block size?

前端 未结 5 730
悲哀的现实
悲哀的现实 2021-02-05 12:22

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         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-05 13:17

    I think it should be doable with:

    hadoop fsck /filename -blocks
    

    but I get Connection refused

提交回复
热议问题