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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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. 0001-YARN-2907.patch
          1 kB
          Rohith Sharma K S
        2. YARN-2907.1.patch
          3 kB
          Rohith Sharma K S

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: