hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4230) Listing all the current snapshottable directories
Date Thu, 03 Jan 2013 18:32:13 GMT

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

Suresh Srinivas commented on HDFS-4230:

bq. It may not be a good idea to have SnapshottableDirectoryStatus extending HdfsFileStatus
since most of the fields in HdfsFileStatus are not needed for SnapshottableDirectoryStatus.

I am fine making SnapshottableDirectoryStatus a subclass of HdfsFileStatus. That way we could
print lot more information about the directory it self, not just the snapshot related information.
HdfsFileStatus#path refers to the local name only. However SnapshottableDirectoryStatus requires
complete path.
> Listing all the current snapshottable directories
> -------------------------------------------------
>                 Key: HDFS-4230
>                 URL: https://issues.apache.org/jira/browse/HDFS-4230
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-4230.001.patch, HDFS-4230.001.patch, HDFS-4230.002.patch
> Provide functionality to provide user with metadata about all the snapshottable directories.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message