Got it

The default block size of HDFS

Latest reply: Feb 28, 2022 06:48:55 631 3 1 0 0

Each file object on the NameNode corresponds to a file, directory, or block on the DataNode.

A file uses at least one block. The default size of a block is 134217728, that is, 128 MB, corresponding to the dfs.blocksize parameter. By default, if the size of a file is less than 128 MB, the file uses only one block; if the size of a file is greater than 128 MB, the number of blocks used by the file is calculated by the file size divided by 128 MB. The directories do not occupy blocks.


Hope this can help you

Thanks :)


  • x
  • convention:

olive.zhao
Admin Created Feb 28, 2022 06:48:55

Hello, everyone!

There have been some posts about HDFS, I hope you can like it.

HDFS Architecture

HDFS

HDFS DataNode Admin Guide

HDFS Architecture and Functionality

HDFS and its Architecture

What is HDFS?

HDFS Commands

HDFS Balancer

Thanks!


View more
  • x
  • convention:

little_fish
Admin Created Aug 7, 2020 01:43:59

Thanks for this.
View more
  • x
  • convention:

raquelaran
Created Aug 8, 2020 13:03:17

very useful
View more
  • x
  • convention:

olive.zhao
Admin Created Feb 28, 2022 06:48:55

Hello, everyone!

There have been some posts about HDFS, I hope you can like it.

HDFS Architecture

HDFS

HDFS DataNode Admin Guide

HDFS Architecture and Functionality

HDFS and its Architecture

What is HDFS?

HDFS Commands

HDFS Balancer

Thanks!


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.