You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/08/18 04:49:00 UTC

[jira] [Updated] (HBASE-23584) Decrease rpc getFileStatus count when open a storefile (cache filestatus in storefileinfo rather than load each time)

     [ https://issues.apache.org/jira/browse/HBASE-23584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stack updated HBASE-23584:
----------------------------------
    Summary: Decrease rpc getFileStatus count when open a storefile  (cache filestatus in storefileinfo rather than load each time)  (was: Descrease rpc getFileStatus count when open a storefile )

> Decrease rpc getFileStatus count when open a storefile  (cache filestatus in storefileinfo rather than load each time)
> ----------------------------------------------------------------------------------------------------------------------
>
>                 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)