I have created a mapreduce program which reads some files from local and stores them to hdfs after processing.
When I am trying to run this on HDP cluster it reads null value when all files are processed in the folder and throws NullPointerException. This problem is only coming in aws HDP cluster, whereas in our local dev environment all the components are installed separately and the same program is running perfectly.
We are using hdp 2.6.2 version and all the components on dev environment are same as hdp 2.6.2.