Home:ALL Converter>Sqoop unable to import data from MYSQL to HBASE

Sqoop unable to import data from MYSQL to HBASE

Ask Time:2019-09-27T20:14:34         Author:user1660161

Json Formatter

Hi I am new in bigdata and I am trying to import data from mysql to hbase using sqoop.

sqoop import –connect jdbc:mysql://xxx.xxx.xx.xx:3306/FBI_DB –table FBI_CRIME –hbase-table H_FBI_CRIME –column-family cd –hbase-row-key ID –m 1 –username root -P

ERROR tool.ImportTool: Import failed: java.io.IOException: No columns to generate for ClassWriter.

Once I had used ––driver com.mysql.jdbc.Driver but still didn’t get success.

Please help, What is wrong.

Author:user1660161,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/58134354/sqoop-unable-to-import-data-from-mysql-to-hbase
yy