Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2714

HA: Fix test cases which use standalone FSNamesystems

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha, test
    • None

    Description

      Several tests (eg TestEditLog, TestSaveNamespace) failed in the most recent build with an NPE inside of FSNamesystem.checkOperation. These tests set up a standalone FSN that isn't fully initialized. We just need to add a null check to deal with this case in checkOperation.

      Attachments

        1. hdfs-2714.txt
          2 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: