Support Questions
Find answers, ask questions, and share your expertise

Sqoop action failing to create avro data file

New Contributor

Hi,

I am trying to import data into avro format using Sqoop action by mentioning the following property in the workflow.xml file.

<property>

<name>oozie.launcher.mapreduce.user.classpath.first</name>

<value>true</value>

</property>

But, I am facing the exception:

Error: org.apache.avro.reflect.ReflectData.addLogicalTypeConversion(Lorg/apache/avro/Conversion;)V

When I tried on the console directly by passing the option -Dmapreduce.job.user.classpath.first=true, it is working fine. I am facing this problem only with Oozie workflow.

Can someone help me please on this.

Thanks,

Gangadhar

0 REPLIES 0