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

YarnClientImpl.submitApplication swallows exceptions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha2
    • Component/s: client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When YarnClientImpl.submitApplication spins waiting for the application to be accepted, any interruption during its Sleep() calls are logged and swallowed.

      this makes it hard to interrupt the thread during shutdown. Really it should throw some form of exception and let the caller deal with it.

        Attachments

        1. YARN-3877.01.patch
          4 kB
          Varun Saxena
        2. YARN-3877.02.patch
          4 kB
          Varun Saxena
        3. YARN-3877.03.patch
          4 kB
          Varun Saxena
        4. YARN-3877.04.patch
          5 kB
          Varun Saxena

          Activity

            People

            • Assignee:
              varun_saxena Varun Saxena
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: