GitHub user zellerh opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1033

    TRAFODION-2534 CLASSPATH for Java UDRs

    Two changes in the custom Java class loader used for UDRs.
    
    First, the class loader now adds any jar files stored in
    $TRAF_HOME/udr/public/external_libs to its CLASSPATH.
    The choice of this directory is anticipating work on
    isolated UDFs, see TRAFODION-2561.
    
    Second, the custom class loader LmClassLoader now uses
    java.net.URLClassLoader to do most of the work. This allows
    us to delete a lot of code in this file. When this class
    was first written, many years ago, the URLClassLoader was
    probably not yet available.
    
    Finally, with the new class loader, the JDBC predefined
    UDF can also be simplified.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zellerh/incubator-trafodion bug/cses_jan-17

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1033.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1033
    
----
commit da1b7b8f8d6b0ed3d8b40cd43406a9e1a717d776
Author: Hans Zeller <hzel...@apache.org>
Date:   2017-03-30T01:04:51Z

    TRAFODION-2534 CLASSPATH for Java UDRs
    
    Two changes in the custom Java class loader used for UDRs.
    
    First, the class loader now adds any jar files stored in
    $TRAF_HOME/udr/public/external_libs to its CLASSPATH.
    The choice of this directory is anticipating work on
    isolated UDFs, see TRAFODION-2561.
    
    Second, the custom class loader LmClassLoader now uses
    java.net.URLClassLoader to do most of the work. This allows
    us to delete a lot of code in this file. When this class
    was first written, many years ago, the URLClassLoader was
    probably not yet available.
    
    Finally, with the new class loader, the JDBC predefined
    UDF can also be simplified.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to