changed RDD to Extractor  and fixed dependencies