Details

    • Reviewed

    Description

      Directory scanner is broken by previous changes, NPE exposed by TestDirectoryScanner

      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
      

      Attachments

        1. h5401.01.patch
          12 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: