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

Veena Basavaraj commented on SQOOP-1821:
----------------------------------------

#1. common.loader does not work, the only way to get this working today is hack 
to add new connector in the sqoop war.

#2, yes instantiating connector from parent ClassLoader will fail on missing 
dependencies that are in the child ClassLoader ... 

I was leaning more towards the option you give as well [~jarcec] and completely 
get rid of the current way since it only leads to confusion and does not work. 
I will explore others if any as well. 

This should be fixed ASAP to allow new connector contributions.

> DOC: Add instructions on how-to create a external connector and make it work 
> in Sqoop
> -------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 1.99.5
>
>
> 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
(v6.3.4#6332)

Reply via email to