pramod
pramod

Reputation: 33

map reduce job stuck during sqoop import

while running this sqoop import command

sqoop import --connect jdbc:mysql://localhost/training --username training --password training --table cityByCountry

on cloudera VM 4.1.1

The mapreduce job is stuck with the last line printed in the terminal mapreduce.Job: Running job: job_1450451392672_0001

15/12/17 10:41:55 INFO mapreduce.Job: The url to track the job: http://localhost.localdomain:8088/proxy/application_1450451392672_0001/ 15/12/17 10:41:55 INFO mapreduce.Job: Running job: job_1450451392672_0001

I tried to track the JOB. Got this returned in the browser!

The requested application does not appear to be running yet, and has not set a tracking URL

how can I debug & solve?

Upvotes: 2

Views: 2888

Answers (1)

Abhinay
Abhinay

Reputation: 635

Sometimes it happens due to the load on mysql server. Try the same command with -m 1

sqoop import --connect jdbc:mysql://localhost/training --username training --password training --table cityByCountry -m 1

Upvotes: 1

Related Questions