InterviewSolution
Saved Bookmarks
| 1. |
Inline DoFn that splits a line up into words is an inner class ____________(a) Pipeline(b) MyPipeline(c) ReadPipeline(d) WritePipe |
|
Answer» Correct option is (b) MyPipeline For explanation I would say: Inner classes contain references to their parent outer classes, so unless MyPipeline implements the Serializable interface, the NotSerializableException will be thrown when Crunch tries to serialize the inner DoFn. |
|