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

Send back HAState along with NamespaceInfo during a versionRequest as an optional parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • datanode
    • None

    Description

      The datanode should know which NN is active when it is connecting/registering to the NN. Currently, it only figures this out during its first (and subsequent) heartbeat(s) and so there is a period of time where the datanode is alive and registered, but can't actually do anything because it doesn't know which NN is active. A byproduct of this is that the MiniDFSCluster will become active before it knows what NN is active, which can lead to NPEs when calling getActiveNN().

      Attachments

        1. HDFS-11094.001.patch
          0.9 kB
          Eric Badger
        2. HDFS-11094.002.patch
          11 kB
          Eric Badger
        3. HDFS-11094.003.patch
          12 kB
          Eric Badger
        4. HDFS-11094.004.patch
          12 kB
          Eric Badger
        5. HDFS-11094.005.patch
          9 kB
          Eric Badger
        6. HDFS-11094.006.patch
          11 kB
          Eric Badger
        7. HDFS-11094.007.patch
          11 kB
          Eric Badger
        8. HDFS-11094.008.patch
          15 kB
          Eric Badger
        9. HDFS-11094.009.patch
          15 kB
          Eric Badger
        10. HDFS-11094.009-b2.patch
          18 kB
          Eric Badger
        11. HDFS-11094.010.patch
          17 kB
          Eric Badger
        12. HDFS-11094.010-b2.patch
          17 kB
          Eric Badger
        13. HDFS-11094.011.patch
          17 kB
          Eric Badger
        14. HDFS-11094-branch-2.011.patch
          18 kB
          Eric Badger

        Activity

          People

            ebadger Eric Badger
            ebadger Eric Badger
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: