Inline DoFn that splits a line up into words is an inner class ____________

Lê Như Ý

New member
Inline DoFn that splits a line up into words is an inner class ____________
A. Pipeline
B. MyPipeline
C. ReadPipeline
D. WritePipe
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top