How to change default block size in Hadoop Cluster

0 votes

Hi Guys,

I have configured Hadoop Cluster. I want to change the default block size. How can I do that?

Oct 2, 2020 in Big Data Hadoop by akhtar
• 38,170 points
107 views

1 answer to this question.

0 votes

Hi@akhtar,

You can change the default block size from the Client. The client will decide what will the block size. So go to your Hadoop configuration folder in the client node. You need to set one property in the hdfs-site.xml file as shown below.

<property>
<name>dfs.block.size</name>
<value>1024</value>
</property>
answered Oct 2, 2020 by MD
• 95,060 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to change block size in Hadoop dynamically?

Hi@akhtar, By default, the block size is 64MB ...READ MORE

answered Sep 25, 2020 in Big Data Hadoop by akhtar
• 38,170 points
253 views
0 votes
1 answer

How to delete a directory from Hadoop cluster which is having comma(,) in its name?

Just try the following command: hadoop fs -rm ...READ MORE

answered May 7, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
936 views
0 votes
1 answer

How to change the replication factor of specific directory in Hadoop?

Yes, you can change the replication factor ...READ MORE

answered May 10, 2018 in Big Data Hadoop by Shubham
• 13,480 points
1,722 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,480 points
768 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,480 points
866 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
6,854 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
1,098 views
0 votes
1 answer

How to change the default replication factor in Hadoop?

Hi@akhtar, You can change the default replication factor from the ...READ MORE

answered Oct 2, 2020 in Big Data Hadoop by MD
• 95,060 points
150 views
0 votes
1 answer

How to upload files in Hadoop Cluster?

Hi@akhtar, To upload a file in Hadoop Cluster, ...READ MORE

answered Sep 25, 2020 in Big Data Hadoop by MD
• 95,060 points
278 views