You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2014/11/18 18:24:34 UTC

[jira] [Updated] (SQOOP-1754) Sqoop2: Remove JarUtil class

     [ https://issues.apache.org/jira/browse/SQOOP-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SQOOP-1754:
--------------------------------------
    Fix Version/s: 2.0.0
           Labels: newbie  (was: )

> Sqoop2: Remove JarUtil class
> ----------------------------
>
>                 Key: SQOOP-1754
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1754
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Jarek Jarcec Cecho
>              Labels: newbie
>             Fix For: 2.0.0
>
>
> We're currently using {{[JarUtil|https://github.com/apache/sqoop/blob/sqoop2/connector/connector-sdk/src/main/java/org/apache/sqoop/connector/common/JarUtil.java]}} class to help us find location of various jars. The implementation is very buggy as it depends on jar name and default Class Loader. We already do have facility in {{[ClassUtils|https://github.com/apache/sqoop/blob/sqoop2/common/src/main/java/org/apache/sqoop/utils/ClassUtils.java#L132]}} that is able to get location of jar given class name and we should take advantage of that instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)