[
https://issues.apache.org/jira/browse/HDFS-13141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396507#comment-16396507
]
Chris Douglas commented on HDFS-13141:
--------------------------------------
bq. After check HdfsFileStatus, it seems we don't have a getter for flags for
HdfsFileStatus. Is this something we miss from HDFS-12681?
It was deliberate. The flags support existing methods on {{HdfsFileStatus}} and
{{FileStatus}}.
Conversion between the enums directly through the type implies a tighter
binding than I hoped we'd maintain going forward. While {{FileStatus}} should
expose only metadata common to most implementations, {{HdfsFileStatus}} can
specialize on HDFS.
Instead of extracting fields from one {{HdfsFileStatus}} to construct another,
could {{SnapshottableDirectoryStatus}} just take the original struct, to avoid
the {{convert}} method?
> WebHDFS: Add support for getting snasphottable directory list
> -------------------------------------------------------------
>
> Key: HDFS-13141
> URL: https://issues.apache.org/jira/browse/HDFS-13141
> Project: Hadoop HDFS
> Issue Type: Task
> Components: webhdfs
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Fix For: 3.1.0, 3.2.0
>
> Attachments: HDFS-13141.001.patch, HDFS-13141.002.patch,
> HDFS-13141.003.patch
>
>
> This Jira aims to implement get snapshottable directory list operation for
> webHdfs filesystem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]