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

HeartBeat thread in AMRMClientAsync does not handle runtime exception correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1-beta
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      YARN-654 performs sanity checks for parameters of public methods in AMRMClient. Those may create runtime exception.
      Currently, heartBeat thread in AMRMClientAsync only captures IOException and YarnException, and will not handle Runtime Exception properly.
      Possible solution can be: heartbeat thread will catch throwable and notify the callbackhandler thread via existing savedException

        Attachments

        1. YARN-994.3.patch
          5 kB
          Xuan Gong
        2. YARN-994.2.patch
          5 kB
          Xuan Gong
        3. YARN-994.1.patch
          3 kB
          Xuan Gong

          Activity

            People

            • Assignee:
              xgong Xuan Gong
              Reporter:
              xgong Xuan Gong
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: