Reduce the number of calls of HarFileSystem.getFileStatus in RaidNode

Details

Type: Improvement

Status:Open

Priority: Major

Resolution:
Unresolved

Affects Version/s:0.22.0

Fix Version/s:
None

Component/s:
None

Labels:

None

Description

RaidNode makes lots of calls of HarFileSystem.getFileStatus. This method fetches information from DataNode so it is slow. It becomes the bottleneck of the RaidNode. It will be nice if we can make this more efficient.