Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (32.1k points)
Can anyone tell me how to change the block size in Hadoop?

1 Answer

0 votes
by (45.3k points)

You can change the block size in Hadoop like this

Configuration conf = new Configuration() ;

conf.set( "dfs.block.size", 128*1024*1024) ;

If you want to learn Hadoop, I recommend this Hadoop Certification program by Intellipaat.

Also, check out this YouTube tutorial on Hadoop:

Browse Categories

...