Repository: incubator-zeppelin Updated Branches: refs/heads/master 758abc688 -> 1fc67f03b
[MINOR] Remove stdout and stderr ### What is this PR for? Change system.out and system.err into logger.info ### What type of PR is it? [Improvement] ### Todos * [x] - Fixed to remove system.out and system.err ### What is the Jira issue? This is very trivial and minor issue ### How should this be tested? Check your logs/zeppelin*.out to see "------ Create new SparkContext ..." Apply this patch Check your logs/zeppelin*.log to see "------ Create new SparkContext ..." ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <[email protected]> Closes #829 from jongyoul/minor-remove-stdout-stderr and squashes the following commits: f703fe3 [Jongyoul Lee] [Minor] - Revert test code 180e2c1 [Jongyoul Lee] [MINOR] - Change System.out and System.err into logger.info Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/1fc67f03 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/1fc67f03 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/1fc67f03 Branch: refs/heads/master Commit: 1fc67f03b9be717ee317183ecc1152d08e996815 Parents: 758abc6 Author: Jongyoul Lee <[email protected]> Authored: Tue Apr 12 10:08:21 2016 +0900 Committer: Jongyoul Lee <[email protected]> Committed: Thu Apr 14 08:45:41 2016 +0900 ---------------------------------------------------------------------- .../src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/1fc67f03/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java ---------------------------------------------------------------------- diff --git a/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java b/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java index cd4d36b..b53e80f 100644 --- a/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java +++ b/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java @@ -254,7 +254,7 @@ public class SparkInterpreter extends Interpreter { } public SparkContext createSparkContext() { - System.err.println("------ Create new SparkContext " + getProperty("master") + " -------"); + logger.info("------ Create new SparkContext {} -------", getProperty("master")); String execUri = System.getenv("SPARK_EXECUTOR_URI"); String[] jars = SparkILoop.getAddedJars();
