hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-1068) Reduce NameNode GC by reusing HdfsFileStatus objects in RPC handlers
Date Thu, 31 Aug 2017 22:56:00 GMT

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

Zhe Zhang reassigned HDFS-1068:
-------------------------------

    Assignee: Zhe Zhang  (was: Hairong Kuang)

> Reduce NameNode GC by reusing HdfsFileStatus objects in RPC handlers
> --------------------------------------------------------------------
>
>                 Key: HDFS-1068
>                 URL: https://issues.apache.org/jira/browse/HDFS-1068
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Hairong Kuang
>            Assignee: Zhe Zhang
>
> In our production clusters, getFileInfo is the most frequent operation that hit NameNode,
and its frequency is highly correlated to the GC behavior. HDFS-946 has already reduced the
amount of heap/cpu and the number of temporary objects for each getFileInfo call. Yet another
improvement is to avoid creation of a HdfsFileStatus object for each getFileInfo call. Instead
each RPC handler can have a thread local HdfsFileStatus object. Each getFileInfo call simply
sets values for all fields of the thread local HdfsFileStatus object. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message