[
https://issues.apache.org/jira/browse/SQOOP-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686459#comment-15686459
]
Eric Lin commented on SQOOP-2973:
---------------------------------
Hi [~vasas],
Thanks for the update. I have compiled the trunk version of Sqoop with
{code}
ant -Dhadoopversion=260 -Dhbaseprofile=95
{code}
According to build.xml file, hbaseprofile=95 for hadoopversion=260 will build
against hbase 1.2.0:
{code}
<elseif>
<equals arg1="${hadoopversion}" arg2="260" />
<then>
<property name="hadoop.version" value="2.6.0" />
<property name="hbase95.version" value="1.2.0" />
<property name="zookeeper.version" value="3.4.5" />
<property name="hadoop.version.full" value="2.6.0" />
<property name="hcatalog.version" value="0.13.0" />
<property name="hbasecompatprofile" value="2" />
<property name="avrohadoopprofile" value="2" />
</then>
</elseif>
{code}
I checked the built output jar files, they are all for hbsae 1.2.0 version, so
in theory that should work right? What did I do wrong or do I need to change
the build file somehow?
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
>
> 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)