Repository: zeppelin Updated Branches: refs/heads/branch-0.6 ae6751baf -> 144c2fb6f
ZEPPELIN-1311. Typo in ZEPPELIN-1197 ### What is this PR for? My bad, it should be `Exception` rather than `Execution`  ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-1311 ### How should this be tested? Tested manually. ### Screenshots (if appropriate) Here's the new log after this fix.  ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <[email protected]> Closes #1307 from zjffdu/ZEPPELIN-1311 and squashes the following commits: e289c58 [Jeff Zhang] ZEPPELIN-1311. Typo in ZEPPELIN-1197 (cherry picked from commit 4178089a0af2fba0ff032a89540becefd5ec4f41) Signed-off-by: Mina Lee <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/144c2fb6 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/144c2fb6 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/144c2fb6 Branch: refs/heads/branch-0.6 Commit: 144c2fb6f5e41cbcc06e52b272cf5652a2ac66d4 Parents: ae6751b Author: Jeff Zhang <[email protected]> Authored: Tue Aug 9 17:19:47 2016 +0800 Committer: Mina Lee <[email protected]> Committed: Wed Aug 10 09:45:32 2016 +0900 ---------------------------------------------------------------------- spark/src/main/resources/python/zeppelin_pyspark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/144c2fb6/spark/src/main/resources/python/zeppelin_pyspark.py ---------------------------------------------------------------------- diff --git a/spark/src/main/resources/python/zeppelin_pyspark.py b/spark/src/main/resources/python/zeppelin_pyspark.py index 2e95c85..9a40556 100644 --- a/spark/src/main/resources/python/zeppelin_pyspark.py +++ b/spark/src/main/resources/python/zeppelin_pyspark.py @@ -28,6 +28,7 @@ from pyspark.accumulators import Accumulator, AccumulatorParam from pyspark.broadcast import Broadcast from pyspark.serializers import MarshalSerializer, PickleSerializer import ast +import traceback # for back compatibility from pyspark.sql import SQLContext, HiveContext, Row @@ -262,7 +263,7 @@ while True : code = compile(mod, '<stdin>', 'single') exec(code) except: - raise Execution(sys.exc_info()) + raise Exception(traceback.format_exc()) intp.setStatementsFinished("", False) except Py4JJavaError:
