[
https://issues.apache.org/jira/browse/IMPALA-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775428#comment-16775428
]
ASF subversion and git services commented on IMPALA-7191:
---------------------------------------------------------
Commit 23922ddf318f19f4b2cd481a745d20d0ac98ca2f in impala's branch
refs/heads/2.x from Dan Hecht
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=23922dd ]
IMPALA-7191: don't call srand() at random times
Instead, call it from the daemons' main(), and remove the
calls that happen at random time during the lifetime of the
daemons. Doesn't attempt to cleanup the backend unit tests
which can happen separately or not at all.
Change-Id: Iaf0ef5a0e842ebdcdb6d7355302e68fb0bc7ef5f
Reviewed-on: http://gerrit.cloudera.org:8080/10778
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Daemons should call srand() early in main rather than at random locations
> -------------------------------------------------------------------------
>
> Key: IMPALA-7191
> URL: https://issues.apache.org/jira/browse/IMPALA-7191
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 3.0
> Reporter: Dan Hecht
> Assignee: Dan Hecht
> Priority: Major
> Fix For: Impala 3.1.0
>
>
> Currently we call srand() at "random" places. Let's call it when the daemons
> startup and remove the other places that happen at arbitrary places.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]