impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailesh Mukil (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-2599: Pseudo-random sleep before acquiring kerberos ticket possibly not really pseudo-random.
Date Mon, 07 Mar 2016 20:18:09 GMT
Hello Dan Hecht,

I'd like you to reexamine a change.  Please visit

    http://gerrit.cloudera.org:8080/2429

to look at the new patch set (#2).

Change subject: IMPALA-2599: Pseudo-random sleep before acquiring kerberos ticket possibly
not really pseudo-random.
......................................................................

IMPALA-2599: Pseudo-random sleep before acquiring kerberos ticket possibly not really pseudo-random.

A pseudo-random number generator was used to add a sleep before
acquiring a kerberos ticket so that there is minimal traffic to the
KDC. This generator was not seeded which resulted in every impalad
waking up at the same time to contact the KDC for a ticket.

This change seeds the generator with a std::random_device so that
different impalads have different sleep times.

Change-Id: I727a1b68aca43546bb79603b0ca83163ee169aa9
---
M be/src/rpc/authentication.cc
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/29/2429/2
-- 
To view, visit http://gerrit.cloudera.org:8080/2429
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I727a1b68aca43546bb79603b0ca83163ee169aa9
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Sailesh Mukil <sailesh@cloudera.com>
Gerrit-Reviewer: Dan Hecht <dhecht@cloudera.com>
Gerrit-Reviewer: Sailesh Mukil <sailesh@cloudera.com>

Mime
View raw message