[ 
https://issues.apache.org/jira/browse/HBASE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HBASE-7932:
-------------------------------

    Attachment: 7932-1.patch

I tried opening a RB issue with the patch but RB seems to be broken right now.

I have addressed most of the comments [[email protected]] posted before in 
this patch. 

On some specific comments/questions:
bq. Is it possible that null gets returned from getRack() ?

No.

bq.Two maps are used in AssignmentPlan. I assume they are updated in sync.
But in the following method, only assignmentMap is updated

I have removed the timestamp map since its currently not used.

Actually, the timestamp comes into play only when there is an out-of-band 
update in the meta table for the region locations. As part of this feature, a 
tool will be run periodically to check whether the map in meta for region 
locations is optimal, and if not, the tool will update meta with the new 
locations. Periodically, in the master, a metascanner will run that will 
inspect the rows for the regions and if some regions' location info was changed 
since the last time the scanner detected the change, the region servers will 
need to be told as well, and this is when the assignmentUpdateTS map comes 
handy (if there was no update in meta for some regions since the last time meta 
was scanned and the regionservers updated, there is no need to update the 
corresponding region servers now). In the current patch, the said tool and the 
metascanner both are not there...
                
> Do the necessary plumbing for the region locations in META table and send the 
> info to the RegionServers
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7932
>                 URL: https://issues.apache.org/jira/browse/HBASE-7932
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>            Priority: Critical
>             Fix For: 0.95.0
>
>         Attachments: 7932-1.patch, 7932-wip-2.patch, 7932-wip-3.patch, 
> 7932-wip-4.patch, 7932-wip.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to