0 votes
1 view
in Big Data Hadoop & Spark by (31k points)
Can anyone tell me how to change the block size in Hadoop?

1 Answer

0 votes
by (29.9k 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:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...