sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1821) External connector loading in Sqoop2
Date Wed, 14 Jan 2015 22:43:34 GMT

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

Veena Basavaraj commented on SQOOP-1821:

#1 I did not notice that the ConnectorManager is using Class.forName, i presumed it used loadClass.

I have updated unit tests to load class and it works. Updating the patch [~abec] in a bit.

#2, you want to file a new ticket, seems unrelated to this issues

#3, lets get #1 in and test the full job creating, I am betting that it wont be a issue once
a webapp class loader can find it

> External connector loading in Sqoop2
> ------------------------------------
>                 Key: SQOOP-1821
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1821
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.5
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>         Attachments: SQOOP-1821-v1.patch, SQOOP-1821-v2.patch, SQOOP-1821.patch, hbase-connector.jar,
test-connector.jar, test-non-connector.jar
> Edit this wiki to begin with
> https://cwiki.apache.org/confluence/display/SQOOP/Setting+up+Sqoop+2#SettingupSqoop2-InstallinganewconnectortoSqoop2
> Also, add the same to the .rst of need be
> relevant code that loads all connectors 
> https://github.com/apache/sqoop/blob/sqoop2/core/src/main/java/org/apache/sqoop/connector/ConnectorManagerUtils.java#L44
> NOTE : External contributors had issues with getting a new sqoop connector working seamlessly
with the Sqoop2. They had to do some hacks to include this new jar into the class path. 

This message was sent by Atlassian JIRA

View raw message