sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-2973) Is sqoop version 1.4.6 is compatible with hbase version 1.2.1?
Date Wed, 07 Dec 2016 10:53:58 GMT

     [ 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:

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


> 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

View raw message