Hi Abhishek Dutta (******@tcs.com),
Welcome to Microsoft Q&A forum and thanks for posting your query.
That error message comes from Spark's TorrentBroadcast
class. Fortunately, the source code has a handy comment that explains how it works. Based on how the broadcast works, I suspect that this error is caused by the driver running out of memory. To overcome this issue, please try increasing the size of the driver node and see if that resolves the error.
If increasing the driver node didn't help to resolve the issue, then I would recommend filing a support ticket for deeper investigation.
Hope this info helps. Let us know how it goes.
Thank you