Uh oh!
There was an error while loading. Please reload this page.
[SPARK-11225]Prevent generate empty file - #9191
Conversation
JoshRosen
commented
Oct 21, 2015
Jenkins, this is ok to test. |
JoshRosen
commented
Oct 21, 2015
Hey @viper-kun, I played around with this optimization myself at one point. If I remember correctly, I think that you might have to update other parts of the code to account for the fact that empty partitions' files will now be missing instead of empty. Do you have performance benchmarking results that motivated this change? Just curious to know how much of a speedup / benefit this gives. |
SparkQA
commented
Oct 21, 2015
Test build #44033 has finished for PR 9191 at commit
|
viper-kun
commented
Oct 21, 2015
Thanks @JoshRosen Sorry, I don't do performacne test. As I know, it will reduce number of open file. When there too much empty file, it will get some benefit. |
SparkQA
commented
Oct 21, 2015
Test build #44053 has finished for PR 9191 at commit
|
viper-kun
commented
Oct 22, 2015
@JoshRosen |
JoshRosen
commented
Oct 22, 2015
Jenkins, retest this please. |
SparkQA
commented
Oct 22, 2015
Test build #44118 has finished for PR 9191 at commit
|
viper-kun
commented
Oct 22, 2015
Hi @davies, |
davies
commented
Oct 22, 2015
This test is flaky, just re-test it. |
SparkQA
commented
Oct 22, 2015
Test build #1941 has finished for PR 9191 at commit
|
viper-kun
commented
Oct 24, 2015
@davies This test is flaky, pls re-test it. |
SparkQA
commented
Oct 24, 2015
Test build #1949 has finished for PR 9191 at commit
|
viper-kun
commented
Oct 27, 2015
Is it ok? If it doesn't work, I will close this pr. |
srowen
commented
Nov 5, 2015
Note this duplicates #5622 |
viper-kun
commented
Nov 5, 2015
ok. close it |
srowen
commented
Nov 5, 2015
OK, Josh also closed the other one. One JIRA is open now. At least have <= 1 PR. |
If no data will be written into the bucket, it will be generate empty files. So open() must be called in the first write(key,value).