[ https://issues.apache.org/jira/browse/HDFS-14009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng updated HDFS-14009: ------------------------------ Description: 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. Note that FileStatus#setSnapShotEnabledFlag is already gone in trunk (by HDFS-12681). was: FileStatus#setSnapShotEnabledFlag throws InvocationTargetException when attribute set (attr) is Collections.emptySet(). > 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 > 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. > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org