Hi,
I tried the below command
sqoop import --connect “jdbc:mysql://ip-172-31-20-247:3306/retail_db” --table products --as-avrodatafile --username sqoopuser -P
The below error is thrown.
18/09/18 08:18:00 INFO db.IntegerSplitter: Split size: 336; Num splits: 4 from: 1 to: 1345
18/09/18 08:18:01 INFO mapreduce.JobSubmitter: number of splits:4
18/09/18 08:18:01 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1534772926501_7374
18/09/18 08:18:01 INFO impl.YarnClientImpl: Submitted application application_1534772926501_7374
18/09/18 08:18:01 INFO mapreduce.Job: The url to track the job: http://ip-172-31-35-141.ec2.internal:8088/proxy/application_1534772926501_7374/
18/09/18 08:18:01 INFO mapreduce.Job: Running job: job_1534772926501_7374
18/09/18 08:18:07 INFO mapreduce.Job: Job job_1534772926501_7374 running in uber mode : false
18/09/18 08:18:07 INFO mapreduce.Job: map 0% reduce 0%
18/09/18 08:18:11 INFO mapreduce.Job: Task Id : attempt_1534772926501_7374_m_000002_0, Status : FAILED
Please help