Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

fix: make SetItem Serializable #101

Merged
merged 2 commits into from
May 11, 2020

Conversation

neverchanje
Copy link

@neverchanje neverchanje commented Apr 29, 2020

Writing to Pegasus on Spark usually need to use batchSet API as well as SetItem for batching the writes.

image

But if we store SetItem in an RDD, there's a problem that RDD[SetItem] can not be serialized by Spark. Some exceptions will be thrown at runtime due to this cause. So here we make SetItem Serializable.

@levy5307 levy5307 merged commit 1f746ae into XiaoMi:thrift-0.11.0-inlined May 11, 2020
@neverchanje neverchanje deleted the minorfix branch December 4, 2020 08:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants