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

yuhuiyang edited comment on HBASE-23584 at 12/18/19 7:55 AM:
-------------------------------------------------------------

[~reidchan]  I tried to create a localStatus to cache the fileStatus . Store 
will get fields from this localStatus instead of creating a rpc request every 
time according to the patch .


was (Author: yu-huiyang):
[~reidchan]  I tried to create a localStatus to cache the fileStatus . Store 
will get fields from this localStatus instead of creating a rpc request every 
time .

> 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
>
>
> When a store needs to open a storefile , it will create getFileStatus rpc 
> twice . 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)

Reply via email to