hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-8879) Quota by storage type usage incorrectly initialized upon namenode restart
Date Fri, 07 Aug 2015 23:14:45 GMT

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

Xiaoyu Yao reassigned HDFS-8879:
--------------------------------

    Assignee: Xiaoyu Yao

> Quota by storage type usage incorrectly initialized upon namenode restart
> -------------------------------------------------------------------------
>
>                 Key: HDFS-8879
>                 URL: https://issues.apache.org/jira/browse/HDFS-8879
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>
> This was found by [~kihwal] as part of HDFS-8865 work in this [comment|https://issues.apache.org/jira/browse/HDFS-8865?focusedCommentId=14660904&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14660904].
> The unit test testQuotaByStorageTypePersistenceInFsImage/testQuotaByStorageTypePersistenceInFsEdit
failed to detect this because they were using an obsolete
> FsDirectory instance. Once added the highlighted line below, the issue can be reproed.
> {code}
> ++++>fsdir = cluster.getNamesystem().getFSDirectory();
> INode testDirNodeAfterNNRestart = fsdir.getINode4Write(testDir.toString());
> {code}



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

Mime
View raw message