Re: OptionalDataException in spark

2019-12-14 Thread Phillip Henry
Strongly suspect you're mutating an object at the point in time it is Serialized. I suggest you remove all mutation from your code. HTH. Phillip On Fri, Dec 13, 2019 at 7:19 PM Ravi Aggarwal wrote: > Hi, > > > > We are encountering java OptionalDataException in one of our spark jobs. > > All

Re: OptionalDataException in spark

2019-12-13 Thread Ravi Aggarwal
Hi, We are encountering java OptionalDataException in one of our spark jobs. All the tasks of a stage passes (or atleast we do not see any error), but stage fails with above exception while getting task result. And and this exception gets printed on driver. Any pointers in this regard would be h