hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8643) Add snapshot names list to SnapshottableDirectoryStatus
Date Fri, 06 Jan 2017 21:56:59 GMT

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

Junping Du updated HDFS-8643:
-----------------------------
    Target Version/s:   (was: 2.8.0)

> Add snapshot names list to SnapshottableDirectoryStatus
> -------------------------------------------------------
>
>                 Key: HDFS-8643
>                 URL: https://issues.apache.org/jira/browse/HDFS-8643
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: HDFS-8643-00.patch, HDFS-8643-01.patch
>
>
> The idea of this jira to enhance {{SnapshottableDirectoryStatus}} by adding {{snapshotNames}}
attribute into it, presently it has the {{snapshotNumber}}. IMHO this would help the users
to get the list of snapshot names created. Also, the snapshot names can be used while renaming
or deleting the snapshots.
> {code}
> org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.java
>   /**
>    * @return Snapshot names for the directory.
>    */
>   public List <String> getSnapshotNames() {
>     return snapshotNames;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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