Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-16

Some failures from Spark and SparkSql note execution are not reported

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None

    Description

      Some spark and spark sql note execution can silently fail - the result progress line is drawn but no results are returned. For example, run the tutorial sql script with a typo in it, such as changing the table name to non_existent.

      The root cause seems to be the following pattern:

      return new InterpreterResult(Code.ERROR, e.getMessage());
      

      Unfortunately, when the Spark framework throws an InvocationTargetException, the message is empty.

      I will provide a patch for this shortly.

      Attachments

        Issue Links

          Activity

            People

              venkateshrin Ram Venkatesh
              venkateshrin Ram Venkatesh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: