hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11641) Reduce cost of audit logging by using FileStatus instead of HdfsFileStatus
Date Tue, 11 Apr 2017 17:24:41 GMT

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

Daryn Sharp updated HDFS-11641:
    Attachment: HDFS-11641.patch

Very simple patch to change to swap HdfsFileStatus to FileStatus.  FSN#startFile is the only
operation that still passes HdfsFileStatus since it already computed it for the client.

> Reduce cost of audit logging by using FileStatus instead of HdfsFileStatus
> --------------------------------------------------------------------------
>                 Key: HDFS-11641
>                 URL: https://issues.apache.org/jira/browse/HDFS-11641
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-11641.patch
> Audit logging operations create a HdfsFileStatus but audit logging promptly converts
it to a FileStatus to pass to the loggers.  A HdfsFileStatus is more expensive to create,
ex. multiple node to root scans for feature info that will only be discarded in the conversion
to FileStatus.  Operations should create a FileStatus to eliminate all the superfluous overhead.

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