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

Some failures from Spark and SparkSql note execution are not reported

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: