[
https://issues.apache.org/jira/browse/HBASE-23584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082908#comment-17082908
]
Junhong Xu commented on HBASE-23584:
------------------------------------
Good job! What if we fetch all storefile FileStatus of a region once before any
stores and provide them to HStore when opening the region?
> Descrease rpc getFileStatus count when open a storefile
> --------------------------------------------------------
>
> Key: HBASE-23584
> URL: https://issues.apache.org/jira/browse/HBASE-23584
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Affects Versions: 2.1.1
> Reporter: yuhuiyang
> Priority: Minor
> Attachments: HBASE-23584-branch-2.1-01.patch,
> HBASE-23584-master-001.patch
>
>
> When a store needs to open a storefile , it will create getFileStatus rpc
> twice or more . So open a region with too many files or open too many regions
> at once will cost very much time. if namenode wastes too much time in rpc
> process every time (in my case 5s sometime) due to namenode itself's problem
> . So i think we can descrease the times for getFileStatus , this will reduce
> stress to namenode and consume less time when store open a storefile .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)