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

Some failures from Spark and SparkSql note execution are not reported

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment