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 in Big Data Hadoop by akhtar
• 33,310 points
36 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 by MD
• 78,910 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 in Big Data Hadoop by akhtar
• 33,310 points
85 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,450 points
1,567 views
0 votes
1 answer

How to change the checkpointing duration in Hadoop

Answer: The default duration of checkpointing is 3600 ...READ MORE

answered May 11, 2018 in Big Data Hadoop by Shubham
• 13,450 points
320 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,450 points
669 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,450 points
754 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
• 10,950 points
6,339 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
• 10,950 points
979 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 in Big Data Hadoop by MD
• 78,910 points
62 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 in Big Data Hadoop by MD
• 78,910 points
118 views