Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11317

YARN HBase token code shouldn't swallow invocation target exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5.1
    • 2.0.0
    • YARN
    • None

    Description

      As with SPARK-11265; the HBase token retrieval code of SPARK-6918

      1. swallows exceptions it should be rethrowing as serious problems (e.g NoSuchMethodException)
      1. Swallows any exception raised by the HBase client, without even logging the details (it logs that an `InvocationTargetException` was caught, but not the contents)

      As such it is potentially brittle to changes in the HBase client code, and absolutely not going to provide any assistance if HBase won't actually issue tokens to the caller.

      The code in SPARK-11265 can be re-used to provide consistent and better exception processing

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: