Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10415

TestDistributedFileSystem#MyDistributedFileSystem attempts to set up statistics before initialize() is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • jenkins

    Description

      Tests run: 24, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 51.096 sec <<< FAILURE! - in org.apache.hadoop.hdfs.TestDistributedFileSystem
      testDFSCloseOrdering(org.apache.hadoop.hdfs.TestDistributedFileSystem)  Time elapsed: 0.045 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:790)
      	at org.apache.hadoop.fs.FileSystem.processDeleteOnExit(FileSystem.java:1417)
      	at org.apache.hadoop.fs.FileSystem.close(FileSystem.java:2084)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:1187)
      	at org.apache.hadoop.hdfs.TestDistributedFileSystem.testDFSCloseOrdering(TestDistributedFileSystem.java:217)
      

      This is with Java 8 on Mac. It passes fine on trunk. I haven't tried other combinations.

      Attachments

        1. HDFS-10415-branch-2.001.patch
          1 kB
          Mingliang Liu
        2. HDFS-10415-branch-2.000.patch
          2 kB
          Mingliang Liu
        3. HDFS-10415.000.patch
          0.8 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: