Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13891 HDFS RBF stabilization phase I
  3. HDFS-14024

RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, HDFS-13891
    • None
    • None
    • Reviewed

    Description

      Routers may be proxying for a downstream name node that is NOT migrated to understand "ProvidedCapacityTotal". updateJMXParameters method in NamenodeHeartbeatService should handle this without breaking.

       

                      jsonObject.getLong("MissingBlocks"),
                      jsonObject.getLong("PendingReplicationBlocks"),
                      jsonObject.getLong("UnderReplicatedBlocks"),
                      jsonObject.getLong("PendingDeletionBlocks"),
                      jsonObject.getLong("ProvidedCapacityTotal"));
      

      One way to do this is create a json wrapper while gives back some default if json node is not found.

       

       

      Attachments

        1. HDFS-14024.0.patch
          0.9 kB
          CR Hota
        2. HDFS-14024-HDFS-13891.0.patch
          0.9 kB
          CR Hota

        Issue Links

          Activity

            People

              crh CR Hota
              crh CR Hota
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: