You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by jo...@apache.org on 2022/01/05 02:02:21 UTC
[zeppelin] branch branch-0.10 updated: [ZEPPELIN-5625] Potentially misleading error message when sparkR backend is not available
This is an automated email from the ASF dual-hosted git repository.
jongyoul pushed a commit to branch branch-0.10
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.10 by this push:
new 7775eb3 [ZEPPELIN-5625] Potentially misleading error message when sparkR backend is not available
7775eb3 is described below
commit 7775eb3e2156ddbf0314b2f0267a9e2446b966c0
Author: Andrew Musselman <an...@gmail.com>
AuthorDate: Tue Jan 4 15:59:56 2022 -0800
[ZEPPELIN-5625] Potentially misleading error message when sparkR backend is not available
### What is this PR for?
Removing potentially misleading message about cause of R interpreter's not being available
### What type of PR is it?
Documentation
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5625
### How should this be tested?
* Let sparkR backend die, run a cell with %r interpreter
### 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: Andrew Musselman <an...@gmail.com>
Closes #4281 from andrewmusselman/akm-fix-error-message and squashes the following commits:
60c62f057 [Andrew Musselman] Removing misleading message when sparkR backend is dead
(cherry picked from commit d286a4305d0f16df473a41e6ca48f965d808849b)
Signed-off-by: Jongyoul Lee <jo...@gmail.com>
---
rlang/src/main/java/org/apache/zeppelin/r/RInterpreter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rlang/src/main/java/org/apache/zeppelin/r/RInterpreter.java b/rlang/src/main/java/org/apache/zeppelin/r/RInterpreter.java
index 2a72c9c..76aa8ea 100644
--- a/rlang/src/main/java/org/apache/zeppelin/r/RInterpreter.java
+++ b/rlang/src/main/java/org/apache/zeppelin/r/RInterpreter.java
@@ -131,7 +131,7 @@ public class RInterpreter extends AbstractInterpreter {
// render output with knitr
if (rbackendDead.get()) {
return new InterpreterResult(InterpreterResult.Code.ERROR,
- "sparkR backend is dead, please try to increase spark.r.backendConnectionTimeout");
+ "sparkR backend is dead");
}
if (useKnitr) {
zeppelinR.setInterpreterOutput(null);