Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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.
Attachments
Issue Links
- is related to
-
HBASE-7583 Fixes and cleanups
- Closed
- links to