Hey ,how change block size from 128mb to 265 mb in hadoop-2.7.7

0 votes
Apr 19, 2019 by حسين
• 200 points
293 views

1 answer to this question.

0 votes

Hi. you can set the block size to the fs.local.block.size configuration and then use it in the hadoop command while uploading the file. You have to mention the block size in bytes (binary). Suppose you want the block size to be 256 MB, then it will be 268435456 bytes. You will have to run the command like this:

hadoop fs -D fs.local.block.size=268435456 -put <file path> <hdfs path>

answered Apr 22, 2019 by Omkar
• 69,030 points

Related Questions

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
• 29,480 points
61 views
0 votes
1 answer

How to change default block size in Hadoop Cluster?

Hi@akhtar, You can change the default block size ...READ MORE

answered Oct 2 in Big Data Hadoop by MD
• 68,280 points
23 views
0 votes
1 answer

How to configure secondary namenode in Hadoop 2.x ?

bin/hadoop-daemon.sh start [namenode | secondarynamenode | datanode ...READ MORE

answered Apr 6, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
799 views
0 votes
1 answer

How to migrate/ change Hadoop 1.x maven project to Hadoop 2.x?

In Hadoop 2.2. most of the dependencies ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
201 views
0 votes
11 answers
0 votes
1 answer

How to checkout Hadoop 2.6.0 from git

Clone the following Git repository: git clone git ...READ MORE

answered Apr 23, 2018 in Big Data Hadoop by kurt_cobain
• 9,320 points
201 views
0 votes
1 answer

How to choose from a drop-down in Selenium 2?

You can probably use the 'Select' class ...READ MORE

answered Apr 24, 2018 in Selenium by king_kenny
• 3,710 points
371 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,516 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
300 views
0 votes
1 answer

How to upgrade Apache Hadoop from 2.4.1 to 2.6.0?

If the downtime is not an issue, ...READ MORE

answered Sep 7, 2018 in Big Data Hadoop by Frankie
• 9,810 points
98 views