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 <a0dfbcae8e92bb4f48772d8c6743e175570f6f74@cloudera.com>
Reviewed-by: Silvius Rus <f7ea5851fd59d0434c2e152e6169f61c38e0d175@cloudera.com>
Tested-by: Internal Jenkins

kapilrastogi/Impala,kapilrastogi/Impala,kapilrastogi/Impala,kapilrastogi/Impala,kapilrastogi/Impala,kapilrastogi/Impala,kapilrastogi/Impala