Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2907

SchedulerNode#toString should print all resource detail instead of only memory.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • resourcemanager
    • None
    • Reviewed

    Description

      SchedulerNode#toString display only memory. It should display both memory and cpu. It helps while analyzing logs

        @Override
        public String toString() {
          return "host: " + rmNode.getNodeAddress() + " #containers="
              + getNumContainers() + " available="
              + getAvailableResource().getMemory() + " used="
              + getUsedResource().getMemory();
        }
      

      Attachments

        1. YARN-2907.1.patch
          3 kB
          Rohith Sharma K S
        2. 0001-YARN-2907.patch
          1 kB
          Rohith Sharma K S

        Activity

          People

            rohithsharma Rohith Sharma K S
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: