This is an automated email from the ASF dual-hosted git repository.
jongyoul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new d286a43 [ZEPPELIN-5625] Potentially misleading error message when
sparkR backend is not available
d286a43 is described below
commit d286a4305d0f16df473a41e6ca48f965d808849b
Author: Andrew Musselman <[email protected]>
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 <[email protected]>
Closes #4281 from andrewmusselman/akm-fix-error-message and squashes the
following commits:
60c62f057 [Andrew Musselman] Removing misleading message when sparkR
backend is dead
---
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);