hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [4/6] hbase git commit: HBASE-14089 Remove unnecessary draw of system entropy from RecoverableZooKeeper
Date Thu, 16 Jul 2015 01:54:21 GMT
HBASE-14089 Remove unnecessary draw of system entropy from RecoverableZooKeeper


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7ff9ba2c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7ff9ba2c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7ff9ba2c

Branch: refs/heads/branch-1.1
Commit: 7ff9ba2c0f94f66c4c14962c676ad81986daec23
Parents: 3253786
Author: Andrew Purtell <apurtell@apache.org>
Authored: Wed Jul 15 18:41:34 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Wed Jul 15 18:41:51 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7ff9ba2c/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
index f23ea4a..11ed8d7 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
@@ -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();
   }
 
   /**


Mime
View raw message