Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15666#discussion_r104429730
  
    --- Diff: R/pkg/inst/tests/testthat/test_context.R ---
    @@ -167,6 +167,18 @@ test_that("spark.lapply should perform simple 
transforms", {
       sparkR.session.stop()
     })
     
    +test_that("add jar should work and allow usage of the jar on the driver 
node", {
    +  sparkR.sparkContext()
    +
    +  destDir <- paste0(tempdir(), "/", "testjar")
    +  jarName <- callJStatic("org.apache.spark.TestUtils", "createDummyJar",
    +      destDir, "sparkrTests", "DummyClassForAddJarTest")
    +
    +  spark.addJar(jarName, addToCurrentClassLoader = TRUE)
    +  testClass <- newJObject("sparkrTests.DummyClassForAddJarTest")
    --- End diff --
    
    Hm.. it seems this line this time.
    
    ```
    1. Error: add jar should work and allow usage of the jar on the driver node 
(@test_context.R#178) 
     
    1: newJObject("sparkrTests.DummyClassForAddJarTest") at 
C:/projects/spark/R/lib/SparkR/tests/testthat/test_context.R:178
    2: invokeJava(isStatic = TRUE, className, methodName = "<init>", ...)
    3: handleErrors(returnStatus, conn)
    4: stop(readString(conn))
    ```



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to