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

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

GitHub user SuJinpei opened a pull request:

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

    [TRAFODION-2639] parallelize commmands with randomizes execution order core 
dumped

    root cause: generated random index out of range.
    fix by: narrow down random range, and the last element no need to be 
exchanged.

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

    $ git pull https://github.com/SuJinpei/incubator-trafodion 
jira-trafodion-2639

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

    https://github.com/apache/incubator-trafodion/pull/1119.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 #1119
    
----
commit ca36fd6a37d2cc1cdc1b008da2487aaa3299756f
Author: SuJinpei <[email protected]>
Date:   2017-06-13T10:10:09Z

    fix jira TRAFODION-2639

commit 1e428a7e859ea978fc7ac8ed10b57b07c801e6e7
Author: SuJinpei <[email protected]>
Date:   2017-06-14T07:30:52Z

    [TRAFODION-2639]parallelize commmands with randomizes execution order core 
dumped

----


> parallelize commmands with randomizes execution order core dumped
> -----------------------------------------------------------------
>
>                 Key: TRAFODION-2639
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2639
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: db-utility-odb
>    Affects Versions: 2.2-incubating
>         Environment: CDH5.7
>            Reporter: 苏锦佩
>
> select data from below table:
> CREATE TABLE TRAFODION.QA.TB_TINYINT
>   ( 
>     ID                               INT DEFAULT NULL NOT SERIALIZED
>   , C                                TINYINT UNSIGNED DEFAULT NULL NOT
>       SERIALIZED
>   )
>  ATTRIBUTES ALIGNED FORMAT 
> ;
> by command:
> $ ./odb64luo -x 6:"select count(*) from tb_tinyint" -T 4 -Z
> odb [2017-06-08 18:46:24]: starting ODBC connection(s)... 0 1 2 3
> [0.0]Executing: 'select count(*) from tb_tinyint'
> [1.0]Executing: 'select count(*) from tb_tinyint'
> [2.0]Executing: 'select count(*) from tb_tinyint'
> [3.0]Executing: '(null)'
> Segmentation fault (core dumped)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to