Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1696

NPE in TestDistributedUpgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 0.15.0
    • None
    • None

    Description

      The TestDistributedUpgrade test fails once a while with the following stack trace:

      java.lang.NullPointerException
      at org.apache.hadoop.dfs.FSImage.getDistributedUpgradeState(FSImage.java:1036)
      at org.apache.hadoop.dfs.FSImage.setFields(FSImage.java:411)
      at org.apache.hadoop.dfs.Storage$StorageDirectory.write(Storage.java:169)
      at org.apache.hadoop.dfs.UpgradeUtilities.createVersionFile(UpgradeUtilities.java:306)
      at org.apache.hadoop.dfs.TestDistributedUpgrade.testDistributedUpgrade(TestDistributedUpgrade.java:100)

      Attachments

        1. sortFiles.patch
          0.8 kB
          Raghu Angadi

        Activity

          People

            rangadi Raghu Angadi
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: