Alex Behm has submitted this change and it was merged. 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 Reviewed-on: http://gerrit.cloudera.org:8080/2429 Reviewed-by: Sailesh Mukil <[email protected]> Reviewed-by: Silvius Rus <[email protected]> Tested-by: Internal Jenkins Reviewed-on: http://gerrit.cloudera.org:8080/2476 Reviewed-by: Alex Behm <[email protected]> Tested-by: Alex Behm <[email protected]> --- M be/src/rpc/authentication.cc 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Silvius Rus: Looks good to me, approved Alex Behm: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/2476 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I727a1b68aca43546bb79603b0ca83163ee169aa9 Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-2.5.0_5.7.0 Gerrit-Owner: Sailesh Mukil <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Silvius Rus <[email protected]>
