[ https://issues.apache.org/jira/browse/HBASE-21672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16742460#comment-16742460 ]
Andrew Purtell commented on HBASE-21672: ---------------------------------------- HBASE-18478 added configuration option {{hbase.master.balancer.uselocality}}. [~busbey]'s concern is relevant there too, even though it has already been committed. Ideally we can have one change that automatically disables locality calculation after determining what filesystem implementation is in use. Can we do that here? Record the determination in a static hash map keyed by filesystem impl classname or similar. Then consult this information before attempting to use locality information wherever. > Allow skipping HDFS block distribution computation > -------------------------------------------------- > > Key: HBASE-21672 > URL: https://issues.apache.org/jira/browse/HBASE-21672 > Project: HBase > Issue Type: Improvement > Reporter: Nihal Jain > Assignee: Nihal Jain > Priority: Major > Labels: S3 > > We should have a configuration to skip HDFS block distribution calculation in > HBase. For example on file systems that do not surface locality such as S3, > calculating block distribution would not be any useful. > Currentlly, we do not have a way to skip hdfs block distribution computation. > For this, we can provide a new configuration key, say > {{hbase.block.distribution.skip.computation}} (which would be {{false}} by > default). > Users using filesystems such as s3 may choose to make this {{true}}, thus > skipping block distribution computation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)