You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Dan Hecht (JIRA)" <ji...@apache.org> on 2018/06/25 17:05:00 UTC
[jira] [Resolved] (IMPALA-7191) Daemons should call srand() early
in main rather than at random locations
[ https://issues.apache.org/jira/browse/IMPALA-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Hecht resolved IMPALA-7191.
-------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.1.0
commit 83789387e8bd9e8b293bcd229605404867e1d00c
Author: Dan Hecht <dh...@cloudera.com>
Date: Wed Jun 20 15:32:16 2018 -0700
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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org