Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2015 10:45 AM
I cannot make the class serializable, and I don't want to create the instance in the lambda function again and again. So,
1. How to make the NotSerializable object as a static and create it once per machine?
2. If calling rdd.forEachPartition, how can I have return values?