sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed Akram <akram.ba...@zohocorp.com>
Subject Fwd: Re: Sqoop2 MAPRED Exception
Date Thu, 08 Jan 2015 06:27:37 GMT
Can't we handle NULL values, 

What are you trying to say 
 Also, which database are you importing from?
Clarify me on "above question".



============ Forwarded message ============
>From : Syed Akram&lt;akram.basha@zohocorp.com&gt;
To : &lt;user@sqoop.apache.org&gt;
Date : Thu, 08 Jan 2015 11:47:24 +0530
Subject : Re: Sqoop2 MAPRED Exception
============ Forwarded message ============

Hi Abraham,

I tested with both the tables which contains NULL and NON-NULL values tooo, but for both same
Exception is throwing,



---- On Thu, 08 Jan 2015 07:35:32 +0530 Abraham Elmahrek&lt;abe@cloudera.com&gt; wrote
---- 

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 &lt;akram.basha@zohocorp.com&gt; 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&lt;abe@cloudera.com&gt; 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 &lt;akram.basha@zohocorp.com&gt; 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