You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@sqoop.apache.org by Chirag Lakhani <Ch...@hellowallet.com> on 2015/01/29 18:14:20 UTC

error when importing using Parquet

I am trying to import data from a MySQL database into Hadoop using parquet

using the following command
sqoop import --connect jdbc:mysql://10.5.120.198:3306/data -username
root -p --as-parquetfile --warehouse-dir /analytics --table school -m 1


It seems to keep failing and gives the following error, any idea what I
should do?

15/01/29 11:07:51 INFO mapreduce.Job: Running job: job_1422547503078_0004
15/01/29 11:08:04 INFO mapreduce.Job: Job job_1422547503078_0004 running
in uber mode : false
15/01/29 11:08:04 INFO mapreduce.Job:  map 0% reduce 0%
15/01/29 11:08:14 INFO mapreduce.Job: Task Id :
attempt_1422547503078_0004_m_000000_0, Status : FAILED
Error: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
15/01/29 11:08:25 INFO mapreduce.Job: Task Id :
attempt_1422547503078_0004_m_000000_1, Status : FAILED
Error: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
15/01/29 11:08:31 INFO mapreduce.Job: Task Id :
attempt_1422547503078_0004_m_000000_2, Status : FAILED
Error: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
15/01/29 11:08:39 INFO mapreduce.Job:  map 100% reduce 0%
15/01/29 11:08:39 INFO mapreduce.Job: Job job_1422547503078_0004 failed
with state FAILED due to: Task failed task_1422547503078_0004_m_000000
Job failed as tasks failed. failedMaps:1 failedReduces:0

15/01/29 11:08:39 INFO mapreduce.Job: Counters: 8
    Job Counters
        Failed map tasks=4
        Launched map tasks=4
        Other local map tasks=4
        Total time spent by all maps in occupied slots (ms)=22618
        Total time spent by all reduces in occupied slots (ms)=0
        Total time spent by all map tasks (ms)=22618
        Total vcore-seconds taken by all map tasks=22618
        Total megabyte-seconds taken by all map tasks=23160832
15/01/29 11:08:39 WARN mapreduce.Counters: Group FileSystemCounters is
deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead
15/01/29 11:08:39 INFO mapreduce.ImportJobBase: Transferred 0 bytes in
50.8111 seconds (0 bytes/sec)
15/01/29 11:08:39 WARN mapreduce.Counters: Group
org.apache.hadoop.mapred.Task$Counter is deprecated. Use
org.apache.hadoop.mapreduce.TaskCounter instead
15/01/29 11:08:39 INFO mapreduce.ImportJobBase: Retrieved 0 records.
15/01/29 11:08:39 ERROR tool.ImportTool: Error during import: Import job
failed!