You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Eric Lin (JIRA)" <ji...@apache.org> on 2016/12/07 10:53:58 UTC
[jira] [Updated] (SQOOP-2973) Is sqoop version 1.4.6 is compatible
with hbase version 1.2.1?
[ https://issues.apache.org/jira/browse/SQOOP-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Lin updated SQOOP-2973:
----------------------------
Attachment: hbase1.2.4-error.out
Hi [~vasas],
Sorry about the delay. I have attached the hbase1.2.4-error.out file which contains the verbose output of the following command:
{code}
sqoop import --connect jdbc:mysql://localhost/test --username root --password 'password' --table hbase_import -m 1 --hbase-table hbase_import --column-family cf --hbase-create-table --verbose --hbase-row-key 'rk' --verbose
{code}
Thanks
> Is sqoop version 1.4.6 is compatible with hbase version 1.2.1?
> ---------------------------------------------------------------
>
> Key: SQOOP-2973
> URL: https://issues.apache.org/jira/browse/SQOOP-2973
> Project: Sqoop
> Issue Type: Bug
> Environment: Haddop version 2.7.2
> Reporter: Rajib Mandal
> Attachments: hbase1.2.4-error.out
>
>
> We are getting below error while importing data from Oracle to Hbase
> error Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hbase.HTableDescriptor.addFamily(Lorg/apache/hadoop/hbase/HColumnDescriptor;)V
> The command executed
> sqoop import --connect jdbc:oracle:thin:@//orcl.xxxx --username sysdba --password xxxx --table GENDER2 --columns "EMPLOYEE_ID,FIRST_NAME,GENDER" --hbase-table employee --column-family GENDER2 --hbase-row-key EMPLOYEE_ID --hbase-create-table
> Is there any way to resolve this?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)