Trying to process each json file from a hdfs directory and write into a hdfs directory. Here I am using scala parallel collection par. If i run this code I am getting the er