hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-5401) Fix NPE in Directory Scanner
Date Wed, 23 Oct 2013 20:29:44 GMT

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

Arpit Agarwal resolved HDFS-5401.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Heterogeneous Storage (HDFS-2832)

Thanks for the quick review Nicholas! I committed it to branch HDFS-2832.

> Fix NPE in Directory Scanner
> ----------------------------
>
>                 Key: HDFS-5401
>                 URL: https://issues.apache.org/jira/browse/HDFS-5401
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: Heterogeneous Storage (HDFS-2832)
>
>         Attachments: h5401.01.patch
>
>
> Directory scanner is broken by previous changes, NPE exposed by TestDirectoryScanner
> {code}
> testDirectoryScanner(org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner)  Time
elapsed: 27.417 sec  <<< ERROR!
> java.lang.NullPointerException: null
>         at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.checkAndUpdate(FsDatasetImpl.java:1419)
>         at org.apache.hadoop.hdfs.server.datanode.DirectoryScanner.reconcile(DirectoryScanner.java:405)
>         at org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner.scan(TestDirectoryScanner.java:212)
>         at org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner.runTest(TestDirectoryScanner.java:270)
>         at org.ap
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message