sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: Sqoop2 MAPRED Exception
Date Thu, 08 Jan 2015 02:05:32 GMT
Hmm maybe it is actually a null handling issue. Do you have issues
importing data that don't have NULL values? Also, which database are you
importing from?

On Tue, Jan 6, 2015 at 10:18 PM, Syed Akram <akram.basha@zohocorp.com>
wrote:

> This below one is single stack trace, please help me on this
> *Stack Trace:*
> Error: org.apache.sqoop.common.SqoopException: *MAPRED_EXEC_0017*:Error
> occurs during extractor run at
> org.apache.sqoop.job.mr.SqoopMapper.run(SqoopMapper.java:99) at
> org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) at
> org.apache.hadoop.mapred.MapTask.run(MapTask.java:340) at
> org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168) at
> java.security.AccessController.doPrivileged(Native Method) at
> javax.security.auth.Subject.doAs(Subject.java:415) at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163) Caused by:
> org.apache.sqoop.common.SqoopException: *MAPRED_EXEC_0013*:Cannot write
> to the data writer at
> org.apache.sqoop.job.mr.SqoopMapper$SqoopMapDataWriter.writeContent(SqoopMapper.java:148)
> at
> org.apache.sqoop.job.mr.SqoopMapper$SqoopMapDataWriter.writeArrayRecord(SqoopMapper.java:122)
> at
> org.apache.sqoop.connector.jdbc.GenericJdbcExtractor.extract(GenericJdbcExtractor.java:62)
> at
> org.apache.sqoop.connector.jdbc.GenericJdbcExtractor.extract(GenericJdbcExtractor.java:31)
> at org.apache.sqoop.job.mr.SqoopMapper.run(SqoopMapper.java:94) ... 7 more
> Caused by: org.apache.sqoop.common.SqoopException: *MAPRED_EXEC_0018*:Error
> occurs during loader run at
> org.apache.sqoop.job.mr.SqoopOutputFormatLoadExecutor$ConsumerThread.run(SqoopOutputFormatLoadExecutor.java:255)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at
> java.util.concurrent.FutureTask.run(FutureTask.java:166) at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722) Caused by:
> org.apache.sqoop.common.SqoopException: *GENERIC_HDFS_CONNECTOR_0005*:Error
> occurs during loader run at
> org.apache.sqoop.connector.hdfs.HdfsLoader.load(HdfsLoader.java:92) at
> org.apache.sqoop.connector.hdfs.HdfsLoader.load(HdfsLoader.java:40) at
> org.apache.sqoop.job.mr.SqoopOutputFormatLoadExecutor$ConsumerThread.run(SqoopOutputFormatLoadExecutor.java:247)
> ... 6 more Caused by: java.io.IOException: Failed on local exception:
> java.io.IOException: com.google.protobuf.InvalidProtocolBufferException:
> Protocol message end-group tag did not match expected tag.;
>
>
> Iam using sqoop 1.99.4 version
> Thanks
> Akram Syed
>
> ---- On Wed, 07 Jan 2015 00:06:36 +0530 *Abraham
> Elmahrek<abe@cloudera.com <abe@cloudera.com>>* wrote ----
>
> Hey there,
>
> Could you check your MapReduce task logs and your your container logs?
> There should be more information (a stack trace perhaps) describing what
> happened.
>
> -Abe
>
> On Tue, Jan 6, 2015 at 3:28 AM, Syed Akram <akram.basha@zohocorp.com>
> wrote:
>
>
> Hi,
>
> When iam trying to start a job in sqoop2, each time the job is failing
> with these exceptions
>
> Errors:
> *1. org.apache.sqoop.common.SqoopException: MAPRED_EXEC_0017:Error occurs
> during extractor run*
>
> *2. org.apache.sqoop.common.SqoopException: MAPRED_EXEC_0013:Cannot write
> to the data write*
>
> *3. org.apache.sqoop.common.SqoopException: MAPRED_EXEC_0018:Error occurs
> during loader run*
>
> *Iam trying to import Table with NULL values in it to HDFS,*
>
> Please let me know , if any solution,
>
> Thanks
> Akram Syed
>
>
>
>
>

Mime
View raw message