Review Board 1.7.22


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

Review Request #7651 - Created Oct. 18, 2012 and submitted

Jarek Cecho
SQOOP-635
Reviewers
Sqoop
sqoop-trunk
I've linked relevant Java bug and explained why it's needed.
I've build docs and verified that they look ok.

Diff revision 3 (Latest)

1 2 3
1 2 3

  1. src/docs/user/troubleshooting.txt: Loading...
src/docs/user/troubleshooting.txt
Revision d46a886c98be0f04303218c922f080ecab192707 New Change
[20] 115 lines
[+20]
116
number generation device on the host where the map tasks execute. On
116
number generation device on the host where the map tasks execute. On
117
typical Linux systems this can be addressed by setting the following
117
typical Linux systems this can be addressed by setting the following
118
property in the +java.security+ file:
118
property in the +java.security+ file:
119

    
   
119

   
120
----
120
----
121
java.security.egd=file:/dev/../dev/urandom
121
securerandom.source=file:/dev/../dev/urandom
122
----
122
----
123

    
   
123

   
124
The +java.security+ file can be found under +$JAVA_HOME/jre/lib/security+
124
The +java.security+ file can be found under +$JAVA_HOME/jre/lib/security+
125
directory. Alternatively, this property can also be specified on the
125
directory. Alternatively, this property can also be specified on the
126
command line via:
126
command line via:
127

    
   
127

   
128
----
128
----
129
-D mapred.child.java.opts="\-Djava.security.egd=file:/dev/../dev/urandom"+
129
-D mapred.child.java.opts="-Djava.security.egd=file:/dev/../dev/urandom"
130
----
130
----
131

    
   
131

   

    
   
132
Please note that it's very important to specify this weird path +/dev/../dev/urandom+

    
   
133
as it is due to a Java bug

    
   
134
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721[6202721]

    
   
135
, or +/dev/urandom+ will be ignored and substituted by +/dev/random+.

    
   
136

   
132
Oracle: Case-Sensitive Catalog Query Errors
137
Oracle: Case-Sensitive Catalog Query Errors
133
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134

    
   
139

   
135
Problem: While working with Oracle you may encounter problems when Sqoop can
140
Problem: While working with Oracle you may encounter problems when Sqoop can
136
not figure out column names. This happens because the catalog queries that
141
not figure out column names. This happens because the catalog queries that
[+20] [20] 111 lines
  1. src/docs/user/troubleshooting.txt: Loading...