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

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

GitHub user lanbb opened a pull request:

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

    [TRAFODION-2029]odb.exe crashed on windows when several files in src

    reason: group mutex etab[i].gmutex was initialized only in etab[0] by
    function cimutex() at line 5120. But in gunction gclean(),
    etab[1].gmutex, etab[2].gmutex and so on are destoried because of for
    loop, so it retruned crashed.
    solution: only destrory group mutex in etab[0].

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

    $ git pull https://github.com/lanbb/incubator-trafodion master

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

    https://github.com/apache/incubator-trafodion/pull/825.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 #825
    
----
commit 2814df5309955b164f10ee1e26b65040f2734514
Author: Zale <[email protected]>
Date:   2016-11-09T06:28:24Z

    [TRAFODION-2029]odb.exe crashed on windows when several files in src
    reason: group mutex etab[i].gmutex was initialized only in etab[0] by
    function cimutex() at line 5120. But in gunction gclean(),
    etab[1].gmutex, etab[2].gmutex and so on are destoried because of for
    loop, so it retruned crashed.
    solution: only destrory group mutex in etab[0].

----


> odb.exe crashed on windows when several files in src
> ----------------------------------------------------
>
>                 Key: TRAFODION-2029
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2029
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: db-utility-odb
>         Environment: centos6.7 HBase 1.0.0-cdh5.4.8
> odb.exe on windows 7-64 bits
>            Reporter: zhangliang
>            Priority: Critical
>
> When extact multiple data tables from trafodion to windows using the command 
> below:
> odb.exe -u trafodion -p traf123 -d traf   -e 
> src=-conf/export_tbl_list.txt:tgt=output_data/ext_%t.csv:rows=m10:fs=,:trim:sq=^|
> If there is more than one file in conf/export_tbl_list.txt, odb.exe will 
> crash in the end.



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

Reply via email to