comment out not implemented API in SparkContext