-
Notifications
You must be signed in to change notification settings - Fork 28.9k
SPARK-2630 Input data size of CoalescedRDD counts only one partition #2310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
QA tests have started for PR 2310 at commit
|
|
QA tests have finished for PR 2310 at commit
|
|
Failed tests seem to be Jenkins broken-ness |
|
Jenkins, test this please. |
|
QA tests have started for PR 2310 at commit
|
|
@ash211 this particular fix will only work for HadoopRDD but not other cases where we track input bytes read. A more general fix is pretty simple though, I think. The way to fix this is to change the input bytes read from a Long to an AtomicLong and to |
|
QA tests have finished for PR 2310 at commit
|
|
Switched to an AtomicLong. Also needed to move instantiation of metrics outside of compute() This now works in my testing for the HadoopRDD -> CoalescedRDD pipeline like this: Ready for review |
|
QA tests have started for PR 2310 at commit
|
|
QA tests have finished for PR 2310 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is part of public API, could we fix the issue without change the API?
Also, it looks different than others. I'd prefer to keep the type unchanged.
|
@ash211 Hopefully this could be merged into 1.2, once you rebase it to master and keep the API unchanged, thanks! |
|
Sounds good, I concur. Thanks! |
No description provided.