Updated Branches:
  refs/heads/trunk d0645bed5 -> 0a30ae174

SQOOP-635 Explaining why it's important to specify weird urandom path in
Troubleshooting guide


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/0a30ae17
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/0a30ae17
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/0a30ae17

Branch: refs/heads/trunk
Commit: 0a30ae174c9da374528a1dad5e304450bc178150
Parents: d0645be
Author: Cheolsoo Park <[email protected]>
Authored: Tue Oct 30 12:12:27 2012 -0700
Committer: Cheolsoo Park <[email protected]>
Committed: Tue Oct 30 12:12:27 2012 -0700

----------------------------------------------------------------------
 src/docs/user/troubleshooting.txt |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/0a30ae17/src/docs/user/troubleshooting.txt
----------------------------------------------------------------------
diff --git a/src/docs/user/troubleshooting.txt 
b/src/docs/user/troubleshooting.txt
index d46a886..be43541 100644
--- a/src/docs/user/troubleshooting.txt
+++ b/src/docs/user/troubleshooting.txt
@@ -118,7 +118,7 @@ typical Linux systems this can be addressed by setting the 
following
 property in the +java.security+ file:
 
 ----
-java.security.egd=file:/dev/../dev/urandom
+securerandom.source=file:/dev/../dev/urandom
 ----
 
 The +java.security+ file can be found under +$JAVA_HOME/jre/lib/security+
@@ -126,9 +126,14 @@ directory. Alternatively, this property can also be 
specified on the
 command line via:
 
 ----
--D mapred.child.java.opts="\-Djava.security.egd=file:/dev/../dev/urandom"+
+-D mapred.child.java.opts="-Djava.security.egd=file:/dev/../dev/urandom"
 ----
 
+Please note that it's very important to specify this weird path 
+/dev/../dev/urandom+
+as it is due to a Java bug
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721[6202721],
+or +/dev/urandom+ will be ignored and substituted by +/dev/random+.
+
 Oracle: Case-Sensitive Catalog Query Errors
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 

Reply via email to