minsuk1 opened a new pull request, #3845:
URL: https://github.com/apache/hive/pull/3845
[Hive side]
create table TEST.HIVE_TEST (
CONTENT string)
stored as textfile;
[oracle side]
create table TEST.ORACLE_TEST (
CONTENT string);
[sqoop export]
/usr/bin/sqoop export \
--connect "connection string"
--username "ex" password "ex" \
--table ORACLE_TEST \
--columns CONTENT \
--hcatalog-table HIVE_TEST --hcatalog-database TEST \
--map-column-java CONTENT=String
result of mapreduce is successed but when i see the yarn application log i
find ERROR [main] org.apache.sqoop.mapreduce.hcat.SqoopHCatExportHelper :
cannot convert hcatalog object of type string to java object type
org.apache.sqoop.lib.clobref
and i see null in oracle what is the solution can anyone help?
sqoop version is Sqoop-1.4.7-cdh6.3.4
i hope anyone knows how to export data from string to clob(oracle) using
sqoop
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]