While running the following spark mllib on local mode with scala 2.12.3 , encountered the following error lambda not serialazable
Any inputs would be much appreciate
Upgrading to Scala 2.12.8 solved the issue. Not sure about the rootcause though.