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] [Commented] (HDFS-958) Remove uneccessary creation of FileStatus objects in NameNode
Date Thu, 31 Aug 2017 06:34:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148519#comment-16148519

Zhe Zhang commented on HDFS-958:

Actually it does make sense to at least make it an option to avoid creating a {{FileStatus}}
for each audit log. {{FSNamesystem#logAuditEvent}} only uses the {{FileStatus}} to log the
permission, which is not really that necessary in many environments.

> Remove uneccessary creation of FileStatus objects in NameNode
> -------------------------------------------------------------
>                 Key: HDFS-958
>                 URL: https://issues.apache.org/jira/browse/HDFS-958
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>         Attachments: reduceFileStatus.patch
> NameNode creates FileStatus objects when
> 1. write audit logs
> 2. change file's lease
> The uses of FileStatus in these places are not necessary. We could use INode instead.

This message was sent by Atlassian JIRA

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

View raw message