I was trying to import data from db2 to hdfs, got below error with respect to this specific database. I am new to DB2, this error seems to be more related to db2 database and driver.
sqoop import --connect jdbc:db2://db2_host101:60006/DB_NAME --username hduser --table repo.table_abc --hive-import --hive-overwrite --hive-table repo.table_abc --target-dir /target_dir/table_abc -m 1 -P
Error:
An attempt was made to access a database, DB_NAME, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004
Do transactions needs to be enabled on DB2 for sqoop to work. Any pointers?