I was running a hadoop jar command to generate a file using teragen.
When I start the command the application was pending no improvement in the application status
The command I ran was
$ sudo -u hdfs hadoop jar /opt/cloudera/parcels/CDH/jars/hadoop-examples.jar teragen /teragen
I have allocated 50% of resources to YARN using static service pools.
Thanks and Regards