MapReduce Jobs hangs

Hi Team,
Mapreduce jobs are hanging with message “AM container is launched, waiting for AM container to Register with RM”

I referred other forum and it seems this happens when disk utilization has reached it’s limit. Please help me resolve this as am unable to run any execution(MR, Sqoop etc)

Could you help me understand what command are you executing?

Hi @sgiri, this issue is resolved now.

I was running below sqoop job,
sqoop export --connect jdbc:mysql://ip-172-31-20-247:3306/retail_db --username sqoopuser --password --export-dir /path/to/hdfs/data --table sales
which was spawning MR jobs and those jobs were stuck.

Issue was because some other user was running a heavy job which exhausted all of Yarn memory thus my Jobs were not being processed.

I called up the support team and they killed the other user’s job which made YARN memory available and then my job executed as expected.

2 Likes

Thank you Manoj for letting us know.