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

Lijin Bin commented on HBASE-27414:
-----------------------------------

Can you supply any patch?

> Search order for locations in  HFileLink
> ----------------------------------------
>
>                 Key: HBASE-27414
>                 URL: https://issues.apache.org/jira/browse/HBASE-27414
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>            Reporter: Huaxiang Sun
>            Priority: Minor
>
> Found that search order for locations is following the order of these 
> locations added to HFileLink object. 
>  
> setLocations(originPath, tempPath, mobPath, archivePath);
> archivePath is the last one to be searched. For most cases, hfile exists in 
> archivePath, so we can move archivePath to the first parameter to avoid 
> unnecessary NN query.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to