hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-958) Remove uneccessary creation of FileStatus objects in NameNode
Date Wed, 10 Feb 2010 23:48:32 GMT

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

Hairong Kuang commented on HDFS-958:
------------------------------------

> Doesn't logAuditEvent need to be updated to take an INode rather than a FileStatus as
the last argument? 
Yes, the patch does so.

> Also, is audit logging enabled when hudson runs tests?
Not sure of this. I will double check.

> 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: name-node
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message