kapil gupta created SQOOP-2835:
----------------------------------

             Summary: Unable to export .avro file to sql server
                 Key: SQOOP-2835
                 URL: https://issues.apache.org/jira/browse/SQOOP-2835
             Project: Sqoop
          Issue Type: Bug
         Environment: UAT
            Reporter: kapil gupta


16/02/12 05:58:10 INFO mapreduce.Job: Task Id : 
attempt_1448906858025_11619_m_000049_2, Status : FAILED
Error: java.lang.IllegalArgumentException: Cannot convert Avro type MAP
        at 
org.apache.sqoop.mapreduce.AvroExportMapper.fromAvro(AvroExportMapper.java:200)
        at 
org.apache.sqoop.mapreduce.AvroExportMapper.toSqoopRecord(AvroExportMapper.java:119)
        at 
org.apache.sqoop.mapreduce.AvroExportMapper.map(AvroExportMapper.java:104)
        at 
org.apache.sqoop.mapreduce.AvroExportMapper.map(AvroExportMapper.java:49)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
        at 
org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
        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:1628)
        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to