[ZEPPELIN-1314] dump out the R command in debug mode#1309
[ZEPPELIN-1314] dump out the R command in debug mode#1309snowch wants to merge 1 commit intoapache:masterfrom snowch:patch-1
Conversation
dump out the R command to facilitate manually running it, e.g. for fault diagnosis purposes
|
@snowch Sorry for the delay, Could you maybe provide a paragraph code example or before/after screenshot example to understand a bit more? Also you can probably rebase your branch to have a green CI |
|
@snowch Not sure how much dumping out the R command would help diagnose. Do you meet any case that failed to launch the R process ? If you want to diagnose the R process after it is launched. You can refer SparkOutputStream which will print output in debug level. You just need add the following line in log4j.properties. |
|
The R process launched, but I received an error. I would like to be able to execute the R command manually which is why I want to dump out how R is being called. |
|
@snowch Thanks for explanation. Make sense. Could you take a look and make CI green? |
|
Damn, I had deleted my forked repository. I've created a new PR here: #1531 |
This PR replaces #1309 Author: Chris Snow <[email protected]> Closes #1531 from snowch/snowch-patch-1 and squashes the following commits: f5f7a70 [Chris Snow] use toString() method of CommandLine for logging 09a6d23 [Chris Snow] added missing semi-colon for statement 25e8a29 [Chris Snow] [ZEPPELIN-1314] dump out the R command
This PR replaces apache#1309 Author: Chris Snow <[email protected]> Closes apache#1531 from snowch/snowch-patch-1 and squashes the following commits: f5f7a70 [Chris Snow] use toString() method of CommandLine for logging 09a6d23 [Chris Snow] added missing semi-colon for statement 25e8a29 [Chris Snow] [ZEPPELIN-1314] dump out the R command
This PR replaces apache#1309 Author: Chris Snow <[email protected]> Closes apache#1531 from snowch/snowch-patch-1 and squashes the following commits: f5f7a70 [Chris Snow] use toString() method of CommandLine for logging 09a6d23 [Chris Snow] added missing semi-colon for statement 25e8a29 [Chris Snow] [ZEPPELIN-1314] dump out the R command
What is this PR for?
When diagnosing issues executing R, it would be useful to view the command that is being run so that command can be manually executed and debugged.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
How should this be tested?
N/A
Screenshots (if appropriate)
N/A
Questions: