-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-5949] HighlyCompressedMapStatus needs more classes registered w/ kryo #4877
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
|
Test build #28235 has started for PR 4877 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.
can we move this right below array[byte]?
|
lgtm otherwise |
|
Test build #28235 has finished for PR 4877 at commit
|
|
Test PASSed. |
|
Test build #28239 has started for PR 4877 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.
Would this actually fail without registration? My understanding is that the serialized data would contain class names instead of a more efficient identifier, but would still work.
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.
He set "spark.kryo.registrationRequired" to true
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.
Ah, I see. Thanks for pointing that out.
|
Test build #28240 has started for PR 4877 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.
@squito For this one I think it is fine to merge, but for future ones, this line should go above all other subpackages. We do have some violations of them in the codebase, but that's the general guideline.
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.
ah, I see. after getting it wrong elsewhere I tried relying on IntelliJ to do the ordering for me, but it does it this way. Does Aaron's plugin handle this correctly? otherwise I'm gonna really need to work hard to get in this habit :P
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.
The plugin does get it right! thanks @aarondav
|
Test build #28241 has started for PR 4877 at commit
|
|
ok I think I fixed the style issues |
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.
good find on the dense vs sparse thing.
can you add a space before { ?
|
Test build #28242 has started for PR 4877 at commit
|
|
i'd really like to automate the style checker so it can catch more stuff like this ... :) |
|
Test build #28240 has finished for PR 4877 at commit
|
|
Test FAILed. |
|
Test build #28243 has started for PR 4877 at commit
|
|
Test build #28239 has finished for PR 4877 at commit
|
|
Test PASSed. |
|
Test build #28241 has finished for PR 4877 at commit
|
|
Test PASSed. |
|
Test build #28242 has finished for PR 4877 at commit
|
|
Test PASSed. |
|
Test build #28243 has finished for PR 4877 at commit
|
|
Test PASSed. |
|
Thanks. Merging in. |
…w/ kryo https://issues.apache.org/jira/browse/SPARK-5949 Author: Imran Rashid <irashid@cloudera.com> Closes #4877 from squito/SPARK-5949_register_roaring_bitmap and squashes the following commits: 7e13316 [Imran Rashid] style style style 5f6bb6d [Imran Rashid] more style 709bfe0 [Imran Rashid] style a5cb744 [Imran Rashid] update tests to cover both types of RoaringBitmapContainers 09610c6 [Imran Rashid] formatting f9a0b7c [Imran Rashid] put primitive array registrations together 97beaf8 [Imran Rashid] SPARK-5949 HighlyCompressedMapStatus needs more classes registered w/ kryo (cherry picked from commit 1f1fccc) Signed-off-by: Reynold Xin <rxin@databricks.com>
https://issues.apache.org/jira/browse/SPARK-5949