You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/02 18:50:58 UTC

[jira] [Commented] (TRAFODION-1988) Better java exception handling in the java layer of Trafodion

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

ASF GitHub Bot commented on TRAFODION-1988:
-------------------------------------------

GitHub user selvaganesang opened a pull request:

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

    [TRAFODION-1988] Better java exception handling in the java/JNI layer…

    … in TM
    
    The following problems are fixed:
    The loaded classes reference are made global to avoid the class reference from gc-ed
    Introduced push/pop frame concepts to avoid memory growth usually observed with
    many JNI/java transitions
    Logged the errors via log4cxx mechanism instead of stdout
    Possibly fixes the tm core dumped in obscure way at times

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

    $ git pull https://github.com/selvaganesang/incubator-trafodion trafodion-1988

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

    https://github.com/apache/incubator-trafodion/pull/861.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 #861
    
----
commit f502bc500a8ece5a07ff63dffd2a5d0410b2b8dc
Author: selvaganesang <se...@esgyn.com>
Date:   2016-12-02T18:35:45Z

    [TRAFODION-1988] Better java exception handling in the java/JNI layer in TM
    
    The following problems are fixed:
    The loaded classes reference are made global to avoid the class reference from gc-ed
    Introduced push/pop frame concepts to avoid memory growth usually observed with
    many JNI/java transitions
    Logged the errors via log4cxx mechanism instead of stdout
    Possibly fixes the tm core dumped in obscure way at times

----


> Better java exception handling in the java layer of Trafodion
> -------------------------------------------------------------
>
>                 Key: TRAFODION-1988
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1988
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: dtm, sql-exe
>    Affects Versions: 2.1-incubating
>            Reporter: Selvaganesan Govindarajan
>            Assignee: Selvaganesan Govindarajan
>
> Java exceptions are not handled in consistent manner in Trafodion. The SQL interface layer in Trafodion is capable of displaying the entire java stack trace to the client application when an exception is raised in java portion of the Trafodion/Hbase/Hdfs stack. However, there are portions of the code in Trafodion where the exceptions are not handled in a consistent manner. This JIRA attempts to fix this.



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