Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution

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

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

Accepted Solutions

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

Expert Contributor

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

3 REPLIES 3

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

Contributor

@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.

Highlighted

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

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.

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

Expert Contributor

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