hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14009) HttpFS: FileStatus#setSnapShotEnabledFlag throws InvocationTargetException when attribute set is emptySet
Date Fri, 19 Oct 2018 00:04:00 GMT

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

Wei-Chiu Chuang updated HDFS-14009:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.4
           Status: Resolved  (was: Patch Available)

Pushed to branch-3.0. Thanks!

> HttpFS: FileStatus#setSnapShotEnabledFlag throws InvocationTargetException when attribute
set is emptySet
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14009
>                 URL: https://issues.apache.org/jira/browse/HDFS-14009
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, httpfs
>    Affects Versions: 3.0.3
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>             Fix For: 3.0.4
>
>         Attachments: HDFS-14009.branch-3.0.001.patch
>
>
> FileStatus#setSnapShotEnabledFlag throws InvocationTargetException when attribute set
(attr) is Collections.emptySet().
> This happens when a FileStatus object is created with none of the four attributes flags
(ACL, Encrypted, EC, Snapshot Enabled) and then FileStatus#setSnapShotEnabledFlag is called.
> Rationale for not adding additional tests: The exception is easily reproducible by running
existing HttpFS test case TestHttpFSWithHttpFSFileSystem#testOperation[23] (ENCRYPTION). The
test passes after the patch is applied.
> Note that FileStatus#setSnapShotEnabledFlag is already gone in trunk (by HDFS-12681).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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