<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: error while running simple sqoop command in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205987#M66101</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10230/hardikvdesai.html" nodeid="10230"&gt;@hardik desai&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try once:
&lt;/P&gt;&lt;PRE&gt;# rm /dev/random
# ln -s /dev/urandom /dev/random&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10230/hardikvdesai.html" nodeid="10230"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Sat, 05 Aug 2017 21:24:48 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-08-05T21:24:48Z</dc:date>
    <item>
      <title>error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205984#M66098</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23439-sqoop-error.txt"&gt;sqoop-error.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i am getting this connection reset everytime i run any simple select sqoop command also.&lt;/P&gt;&lt;P&gt;kindly find attached file to look int the error.&lt;/P&gt;&lt;P&gt;plz do the needful if possible.&lt;/P&gt;&lt;P&gt;@Jay SenSharma &lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 20:37:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205984#M66098</guid>
      <dc:creator>hardikv_desai</dc:creator>
      <dc:date>2017-08-05T20:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205985#M66099</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10230/hardikvdesai.html" nodeid="10230"&gt;@hardik desai&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's basically a&lt;STRONG&gt; "connection reset" &lt;/STRONG&gt;error.&lt;/P&gt;&lt;PRE&gt;17/08/05 19:02:46 ERROR manager.SqlManager: Error reading database metadata: java.sql.SQLRecoverableException: IO Error: Connection reset
java.sql.SQLRecoverableException: IO Error: Connection reset&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;- This &lt;STRONG&gt;either indicates a N/W issue &lt;/STRONG&gt;or Oracle Terminating the connection.&lt;/P&gt;&lt;P&gt;- Is it happening for every connection request, or if you are throttling the connection requests to a couple per second, does it work better?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- Sometimes the DBMS can't handle lots of near-simultaneous connection&lt;/STRONG&gt; requests. But If it happens with each request, every time, then it might be a DB a n/w issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- Another possible reason&lt;/STRONG&gt; could be that for some reason  the software cannot read from "dev/random" In such cases you should try with the "java.security.egd" property as following, Because sometimes due to the lack of a fast random number generation device on the host where the map tasks execute.&lt;/P&gt;&lt;PRE&gt;export HADOOP_OPTS=-Djava.security.egd=file:/dev/../dev/urandom
sqoop import -Dmapred.child.java.opts="-Djava.security.egd=file:/dev/../dev/urandom"&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_oracle_connection_reset_errors" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_oracle_connection_reset_errors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:09:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205985#M66099</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-05T21:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205986#M66100</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt; thank you for your reply...&lt;/P&gt;&lt;P&gt;To let you know that it happened with each request every time. I have checked from network end also by using telnet and tcpdump but still not sure about the cause of the error.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:18:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205986#M66100</guid>
      <dc:creator>hardikv_desai</dc:creator>
      <dc:date>2017-08-05T21:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205987#M66101</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10230/hardikvdesai.html" nodeid="10230"&gt;@hardik desai&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try once:
&lt;/P&gt;&lt;PRE&gt;# rm /dev/random
# ln -s /dev/urandom /dev/random&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10230/hardikvdesai.html" nodeid="10230"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:24:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205987#M66101</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-05T21:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205988#M66102</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt; i have tried with these commands and executed it 3 times. It worked everytime now. I suppose it is due to that bug only which you have shared.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:29:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205988#M66102</guid>
      <dc:creator>hardikv_desai</dc:creator>
      <dc:date>2017-08-05T21:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: error while running simple sqoop command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205989#M66103</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/118111/error-while-running-simple-sqoop-command.html#"&gt;@hardik desai&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Good
 to know that you are able to run the command properly now. It would be 
great if you can mark the correct answer as &lt;STRONG&gt;"Accepted" &lt;/STRONG&gt;(answered) that way it will 
help other HCC users to quickly navigate the answer.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 21:32:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-while-running-simple-sqoop-command/m-p/205989#M66103</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-05T21:32:47Z</dc:date>
    </item>
  </channel>
</rss>

