GitHub user wangjiaochun opened a pull request:
https://github.com/apache/spark/pull/18474
[SPARK-21235][SPARKR] UTest should clear temp results when run case
Signed-off-by: 10087686 <[email protected]>
## What changes were proposed in this pull request?
when run this case encryptionTest("on-disk storage") end, it has temp
result not clear
Users\...\AppData\Local\Temp\blockmgr-865114ea-8e5c-4b20-9a25-1224cfe5545b\01\test_a3
Users\...\AppData\Local\Temp\blockmgr-865114ea-8e5c-4b20-9a25-1224cfe5545b\01\test_a2
Users\...\AppData\Local\Temp\blockmgr-865114ea-8e5c-4b20-9a25-1224cfe5545b\01\test_a1
soï¼I think it's best to clear result file;
(Please fill in changes proposed in this fix)
store.removeBlock("a1")
store.removeBlock("a2")
store.removeBlock("a3")
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
Run encryptionTest("on-disk storage")
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangjiaochun/spark commitBlock
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18474.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18474
----
commit 1011d833ab659948dfb1c4dbd51364dbf504c952
Author: 10087686 <[email protected]>
Date: 2017-06-30T01:43:25Z
Utest should clear eniv when run end
Signed-off-by: 10087686 <[email protected]>
----
---
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]