[ 
https://issues.apache.org/jira/browse/SQOOP-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693739#comment-15693739
 ] 

Szabolcs Vasas commented on SQOOP-2973:
---------------------------------------

Hi [~ericlin],

Yes, in theory that should work, but it is possible that some other versions of 
HBase jars are on your classpath and Sqoop uses the wrong one runtime. Can you 
please execute the Sqoop command with --verbose option and upload the full 
output to this JIRA? I would like to see the Sqoop classpath and the full 
exception stack trace.

BTW this hadoop profile was added for testing purposes only, Sqoop has not been 
fully tested with this profile yet.

Regards,
Szabolcs

> 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
>
> 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)

Reply via email to