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

YarnClientImpl.submitApplication swallows exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.2
    • 2.8.0, 2.7.4, 3.0.0-alpha2
    • client
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: