Jarek Jarcec Cecho created SQOOP-1754:
-----------------------------------------

             Summary: 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


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)

Reply via email to