[
https://issues.apache.org/jira/browse/TRAFODION-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643473#comment-15643473
]
ASF GitHub Bot commented on TRAFODION-2029:
-------------------------------------------
GitHub user lanbb opened a pull request:
https://github.com/apache/incubator-trafodion/pull/822
[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/822.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 #822
----
commit 925510f6253d9e67396b567c1b47d5fe74fea6a1
Author: Zale <[email protected]>
Date: 2016-11-07T08:12:48Z
[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)