Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

want to decrease block size in HDP ambari , what are the parameters i need to change in ambari GUI

avatar
Expert Contributor

11513-dfs-block.png

can you please advise if we need to change any other parameter apart from changing dfs.blocksize in HDFS config

any other suggestions are also welcome as long it helps in saving space in block and not wasting any block space

also do we need any change on DataNodes side also ?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

thanks for confirming , so what i wrote is correct that is changing dfs.blocksize . restart anyways will happen

View solution in original post

3 REPLIES 3

avatar
Rising Star

@ripunjay godhani .You only need to change that parameter and save the configuration.

Ambari would request you to restart components post which, the change would be effective.

Note: This would only impact size of new files written to HDFS.

avatar
Expert Contributor

@ripunjay godhani, you can change the mentioned parameter size in byte and it will then allow you to change block size for new data.

You are asked to restart all affected service components after this to take it into the impact.

avatar
Expert Contributor

thanks for confirming , so what i wrote is correct that is changing dfs.blocksize . restart anyways will happen