Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/16670#discussion_r98113719
--- Diff: R/pkg/inst/tests/testthat/test_Windows.R ---
@@ -20,7 +20,7 @@ test_that("sparkJars tag in SparkContext", {
if (.Platform$OS.type != "windows") {
skip("This test is only for Windows, skipped")
}
- testOutput <- launchScript("ECHO", "a/b/c", capture = TRUE)
+ testOutput <- launchScript("ECHO", "a/b/c", wait = TRUE)
--- End diff --
from https://github.com/apache/spark/pull/16670#discussion_r97393450 this
is "often times the result (error) is not enough to debug the issue."
our options are:
- redirect stdout always (could be very noisy)
- do not redirect stdout by default, but also do not drop - if R shell
share the console with JVM (aka sparkR shell) then user would see messages, but
if IDE, user would not see
- I'd further propose an API to turn on redirect on demand which would
address the R IDE case
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]