HBASE-14089 Remove unnecessary draw of system entropy from RecoverableZooKeeper

This commit is contained in:
Andrew Purtell 2015-07-15 18:41:34 -07:00
parent 789d2a94b7
commit c42fc1dd56
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ package org.apache.hadoop.hbase.zookeeper;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
@ -127,7 +126,7 @@ public class RecoverableZooKeeper {
this.sessionTimeout = sessionTimeout;
this.quorumServers = quorumServers;
try {checkZk();} catch (Exception x) {/* ignore */}
salter = new SecureRandom();
salter = new Random();
}
/**