Can sqoop export blob type from HDFS to Mysql? -
can sqoop export blob type hdfs mysql?
i have table blob type column, , can import hdfs, when export raises exception:
caused by: java.io.ioexception: not buffer record @ org.apache.sqoop.mapreduce.asyncsqlrecordwriter.write(asyncsqlrecordwriter.java:218) @ org.apache.sqoop.mapreduce.asyncsqlrecordwriter.write(asyncsqlrecordwriter.java:46) @ org.apache.hadoop.mapred.maptask$newdirectoutputcollector.write(maptask.java:639) @ org.apache.hadoop.mapreduce.taskinputoutputcontext.write(taskinputoutputcontext.java:80) @ org.apache.sqoop.mapreduce.textexportmapper.map(textexportmapper.java:84) ... 6 more caused by: java.lang.clonenotsupportedexception: com.cloudera.sqoop.lib.blobref @ java.lang.object.clone(native method) @ org.apache.sqoop.lib.lobref.clone(lobref.java:109) @ tblplugin.clone(tblplugin.java:270) @ org.apache.sqoop.mapreduce.asyncsqlrecordwriter.write(asyncsqlrecordwriter.java:213)
this major bug of sqoop , still in open status.
for more details see not able export blob datatype hdfs mysql
hope gives information issue.
Comments
Post a Comment