[
https://issues.apache.org/jira/browse/MADLIB-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739834#comment-16739834
]
Nikhil commented on MADLIB-1291:
--------------------------------
By parallel calls, do you mean opening multiple client sessions and running the
jaccard function? I tried doing that on greenplum but still couldn't repro.
Also in the jira description you mentioned that this command fails
{code}
/usr/local/madlib/bin/madpack -s madlib -p hawq -c
gpadmin@localhost:5432/postgres -t linalg install-check
{code}
I am not sure how is this command run in parallel ? Can you please expand on
the parallel comment ?
> madlib.dist_jaccard abnormal for not releasing the memory
> ---------------------------------------------------------
>
> Key: MADLIB-1291
> URL: https://issues.apache.org/jira/browse/MADLIB-1291
> Project: Apache MADlib
> Issue Type: Bug
> Components: Module: Linear-Algebra Functions
> Reporter: astronee jin
> Priority: Major
> Fix For: v1.12
>
>
> the bug was found by: [http://www.wotung.com|http://www.wotung.com/] or
> [http://www.china-para.com|http://www.china-para.com/]
> when running the following test
> /usr/local/madlib/bin/madpack -s madlib -p hawq -c
> gpadmin@localhost:5432/postgres -t linalg install-check
> the programe will quit abnoramlly,
> the case fails even by manual inputing:
> postgres=# select madlib.dist_jaccard('\{1,-2,3}','\{4,-5,6}');
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
> after the Analysis, we think the servingp process received the abormal SIGNAL
> and quit, it's from abort() function. the client connection is lost too.
>
> when debugging into function Dist.Jaccard, the memory is not released
> explicitly, after add the following and recomplie:
>
> x_set.clear();
> y_set.clear();
>
> we can execute the following and not abormal from the function of
> distJaccard:
> postgres=# select madlib.dist_jaccard('\{1,-2,3}','\{4,-5,6}');
> dist_jaccard
> --------------
> 1
> (1 row)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)