[
https://issues.apache.org/jira/browse/HDFS-13886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619846#comment-16619846
]
Hudson commented on HDFS-13886:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15001 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15001/])
HDFS-13886. HttpFSFileSystem.getFileStatus() doesn't return "snapshot (weichiu:
rev 44857476fa993fbf9c97f979b91e19d27632c10a)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/FSOperations.java
> HttpFSFileSystem.getFileStatus() doesn't return "snapshot enabled" bit
> ----------------------------------------------------------------------
>
> Key: HDFS-13886
> URL: https://issues.apache.org/jira/browse/HDFS-13886
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: httpfs
> Affects Versions: 3.1.1, 3.0.3
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
> Fix For: 3.2.0, 3.0.4, 3.1.2
>
> Attachments: HDFS-13886.001.patch, HDFS-13886.002.patch,
> HDFS-13886.003.patch
>
>
> FSOperations.toJsonInner() doesn't check the "snapshot enabled" bit.
> Therefore, "fs.getFileStatus(path).isSnapshotEnabled()" will always return
> false for fs type HttpFSFileSystem/WebHdfsFileSystem/SWebhdfsFileSystem.
> Additional tests in BaseTestHttpFSWith will be added to prevent this from
> happening.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]