[ 
https://issues.apache.org/jira/browse/HBASE-20101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381294#comment-16381294
 ] 

Jean-Marc Spaggiari commented on HBASE-20101:
---------------------------------------------

Kind of! 

There is 2 things.

One Chore that can check, eventually, on a specified frequence.

One API call that can trigger a reload for a specific region/CF...

 

I need this 2nd option because I manually move some blocks to restore locality. 
I don't want to force HBase to re-check everything. Since I know which file the 
blocks are belonging too, I just need to say to HBase than this specific 
Region/CF changed...

 

> HBase should provide a way to re-validate locality
> --------------------------------------------------
>
>                 Key: HBASE-20101
>                 URL: https://issues.apache.org/jira/browse/HBASE-20101
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Jean-Marc Spaggiari
>            Priority: Major
>
> HDFS blocks can move for many reasons. HDFS balancing, lost of a disk, of a 
> node, etc. However, today, locality seems to be calculated when the files are 
> opened for the first time. Even disabling and re-enabling the regions doesn't 
> trigger a re-calculation of the locality. 
> We should provide a way to let the user ask for this number to be 
> re-calculated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to