You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2018/07/31 22:04:00 UTC

[jira] [Resolved] (TRAFODION-2182) JVM exception for TMUDF

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

Hans Zeller resolved TRAFODION-2182.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3

The fix forĀ TRAFODION-2534 adds $TRAF_HOME/udr/public/external_libs and any jar files in that directory to the class path for UDRs. This helps in many, but not all cases. Here are two cases that TRAFODION-2534 does not address:
 * Some Java code does not work correctly when it is loaded using a custom class loader, which is what UDRs do.
 * We add the jars inĀ $TRAF_HOME/udr/public/external_libs in alphabetical order. In some cases that is not the correct order.

> JVM exception for TMUDF
> -----------------------
>
>                 Key: TRAFODION-2182
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2182
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: foundation
>    Affects Versions: 2.1-incubating
>         Environment: TMUDF
>            Reporter: David Wong
>            Assignee: Hans Zeller
>            Priority: Major
>             Fix For: 2.3
>
>
> This involved jar file containing Lucene components for TMUDF.  When run the TMUDF, get...
> *** ERROR[11224] The Java virtual machine raised an exception. Details: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene60' does not exist.  You need to add the corresponding JAR file supporting this SPI to your classpath.  The current classpath supports the following names: [] [2016-08-23 16:56:47]
> Add jar to CLASSPATH in $MY_SQROOT/etc/ms.env is a workaround (didn't need to bounce anything).  Exception does not occur.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)