Skip to content
  • wm624@hotmail.com's avatar
    06bae8af
    [SPARK-15439][SPARKR] Failed to run unit test in SparkR · 06bae8af
    wm624@hotmail.com authored
    ## What changes were proposed in this pull request?
    
    (Please fill in changes proposed in this fix)
    There are some failures when running SparkR unit tests.
    In this PR, I fixed two of these failures in test_context.R and test_sparkSQL.R
    The first one is due to different masked name. I added missed names in the expected arrays.
    The second one is because one PR removed the logic of a previous fix of missing subset method.
    
    The file privilege issue is still there. I am debugging it. SparkR shell can run the test case successfully.
    test_that("pipeRDD() on RDDs", {
      actual <- collect(pipeRDD(rdd, "more"))
    When using run-test script, it complains no such directories as below:
    cannot open file '/tmp/Rtmp4FQbah/filee2273f9d47f7': No such file or directory
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
    Manually test it
    
    Author: wm624@hotmail.com <wm624@hotmail.com>
    
    Closes #13284 from wangmiao1981/R.
    06bae8af
    [SPARK-15439][SPARKR] Failed to run unit test in SparkR
    wm624@hotmail.com authored
    ## What changes were proposed in this pull request?
    
    (Please fill in changes proposed in this fix)
    There are some failures when running SparkR unit tests.
    In this PR, I fixed two of these failures in test_context.R and test_sparkSQL.R
    The first one is due to different masked name. I added missed names in the expected arrays.
    The second one is because one PR removed the logic of a previous fix of missing subset method.
    
    The file privilege issue is still there. I am debugging it. SparkR shell can run the test case successfully.
    test_that("pipeRDD() on RDDs", {
      actual <- collect(pipeRDD(rdd, "more"))
    When using run-test script, it complains no such directories as below:
    cannot open file '/tmp/Rtmp4FQbah/filee2273f9d47f7': No such file or directory
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
    Manually test it
    
    Author: wm624@hotmail.com <wm624@hotmail.com>
    
    Closes #13284 from wangmiao1981/R.
Loading