Spark RDD map in yarn mode does not allow access to variables? Spark RDD map in yarn mode does not allow access to variables? hadoop hadoop