val filterMap=new HashMap [(String, String), Long]
Var broadFilterMap=sc. Broadcast (filterMap)
Then the Map is clear:
filterMap. The clear ()
Results all the RDD is empty,,, I don't know why, what is the spark of this principle? Can't is broadcast variable clear?