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

NPE in HttpServer during NameNode startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 2.7.8, 3.3.0
    • 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • namenode
    • None

    Description

      When NameNode starts it first starts HttpServer, then starts loading fsImage and edits. While loading the namesystem field in NameNode is null. I saw that a StandbyNode sends a checkpoint request, which fails with NPE because NNStorage is not instantiated yet.
      We should check the NameNode startup status before accepting checkpoint requests.

      Attachments

        1. HDFS-15290.001.patch
          6 kB
          Simbarashe Dzinamarira
        2. HDFS-15290.002.patch
          4 kB
          Simbarashe Dzinamarira
        3. HDFS-15290.003.patch
          6 kB
          Simbarashe Dzinamarira
        4. HDFS-15290-branch-2.10.003.patch
          7 kB
          Konstantin Shvachko

        Activity

          People

            simbadzina Simbarashe Dzinamarira
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: