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 

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

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to