hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7028) Archival Storage: FSDirectory should not get storage policy id from symlinks
Date Mon, 08 Sep 2014 23:22:29 GMT

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

Tsz Wo Nicholas Sze updated HDFS-7028:
--------------------------------------
    Attachment: h7028_20140908.patch

h7028_20140908.patch: checks symlink INode.

> Archival Storage: FSDirectory should not get storage policy id from symlinks
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-7028
>                 URL: https://issues.apache.org/jira/browse/HDFS-7028
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: h7028_20140908.patch
>
>
> {noformat}
> java.lang.UnsupportedOperationException: Storage policy are not supported on symlinks
> 	at org.apache.hadoop.hdfs.server.namenode.INodeSymlink.getStoragePolicyID(INodeSymlink.java:151)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.getFileInfo(FSDirectory.java:1506)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:3992)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getLinkTarget(NameNodeRpcServer.java:1028)
> 	at org.apache.hadoop.hdfs.server.namenode.TestINodeFile.testValidSymlinkTarget(TestINodeFile.java:683)
> 	at org.apache.hadoop.hdfs.server.namenode.TestINodeFile.testInodeIdBasedPaths(TestINodeFile.java:622)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message