Yes , you can do it unless the method is marked static/final. Most of the methods in SparkContext are marked static so you can't over ride them definitely , else over ride would work usually.
Thanks Deepak On Fri, Jan 8, 2016 at 12:06 PM, yuliya Feldman <yufeld...@yahoo.com.invalid > wrote: > Hello, > > I am new to Spark and have a most likely basic question - can I override a > method from SparkContext? > > Thanks > -- Thanks Deepak www.bigdatabig.com www.keosha.net