<?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: Sqoop Query returns Backend I/O Exception in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114377#M77173</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/435/pbalasundaram.html" nodeid="435"&gt;@pbalasundaram&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 16:18:20 GMT</pubDate>
    <dc:creator>kaush_lc</dc:creator>
    <dc:date>2016-07-07T16:18:20Z</dc:date>
    <item>
      <title>Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114370#M77166</link>
      <description>&lt;P&gt;Hi, I have tried importing a table and import from query and both fail at this step where it gives an I/O error. Does anyone know why this is? Image attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5521-gfba2.png" style="width: 1615px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23138i6D3F26C2F71856EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5521-gfba2.png" alt="5521-gfba2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:05:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114370#M77166</guid>
      <dc:creator>kaush_lc</dc:creator>
      <dc:date>2019-08-19T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114371#M77167</link>
      <description>&lt;P&gt;Hi, Please check if the sqoop list tables option is working or not against the same connection details. &lt;/P&gt;&lt;P&gt;If this is not working, then there is a connectivity issue from the sqoop client machine to the database server. &lt;/P&gt;&lt;P&gt;The query that is failing here is not the query used by Sqoop to extract data , but the query used to collect metadata information from remote database. It then uses this information to create the hadoop writers. So this appears to be a connectivity issue, and this can be confirmed by running the list tables variant of sqoop first. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:29:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114371#M77167</guid>
      <dc:creator>pbalasundaram</dc:creator>
      <dc:date>2016-07-06T01:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114372#M77168</link>
      <description>&lt;P&gt;I echo Bala, this error is occurring due to connectivity issue with remote database.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114372#M77168</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-07-06T01:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114373#M77169</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the feedback. list-tables work but doesn't actually give any output. The following are the only logs I get for this. Should I be investigating connectivity? &lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;            Please set $ACCUMULO_HOME to the root of your Accumulo installation.
            16/07/05 12:55:16 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.4.2.0-258
            16/07/05 12:55:16 INFO manager.SqlManager: Using default fetchSize of 1000&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:54:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114373#M77169</guid>
      <dc:creator>kaush_lc</dc:creator>
      <dc:date>2016-07-06T01:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114374#M77170</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11653/kaush-lc.html" nodeid="11653"&gt;@ghost k&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the queries you used for importing the tables,creating the tables and also can you share the complete logs from:&lt;/P&gt;&lt;P&gt;/var/log/sqoop&lt;/P&gt;&lt;P&gt;when you use sqoop list-tables if ran successfully it should show the list of tables in the database server in this case its postgre.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 02:03:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114374#M77170</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-07-06T02:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114375#M77171</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3915/ssanku.html" nodeid="3915"&gt;@sujitha sanku&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Creating the tables - this is an already existing database so I didn't have to create tables. I didn't create any tables on hadoop - I assumed this would be done automatically? I seem to have no log files within the sqoop directory. Is there something I need to do to enable logs? &lt;/P&gt;&lt;P&gt;The query was : &lt;/P&gt;&lt;P&gt;sqoop list-tables --connect 'jdbc:postgresql://xx.xx.xxx.xx:yyyyy/dbname' &lt;/P&gt;&lt;P&gt;Do let me know if you have any ideas. &lt;/P&gt;&lt;P&gt;Thank You,
Kaushy&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 16:16:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114375#M77171</guid>
      <dc:creator>kaush_lc</dc:creator>
      <dc:date>2016-07-07T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114376#M77172</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3915/ssanku.html" nodeid="3915"&gt;@sujitha sanku&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 16:16:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114376#M77172</guid>
      <dc:creator>kaush_lc</dc:creator>
      <dc:date>2016-07-07T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114377#M77173</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/435/pbalasundaram.html" nodeid="435"&gt;@pbalasundaram&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 16:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114377#M77173</guid>
      <dc:creator>kaush_lc</dc:creator>
      <dc:date>2016-07-07T16:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114378#M77174</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11653/kaush-lc.html" nodeid="11653" target="_blank"&gt;@ghost k&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Step1:&lt;/P&gt;&lt;P&gt;#Can you edit pg_hba.conf file in /var/lib/pgsql/data&lt;/P&gt;&lt;P&gt;# Add the following line as the first line of pg_hba.conf. It allows access to all databases for all users with an encrypted password:&lt;/P&gt;&lt;P&gt;host all all 0.0.0.0/0 md5&lt;/P&gt;&lt;P&gt;On postgres end:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;su postgres&lt;/LI&gt;&lt;LI&gt;psql&lt;/LI&gt;&lt;LI&gt;\c ambari&lt;/LI&gt;&lt;LI&gt;#list all tables&lt;/LI&gt;&lt;LI&gt;\dt ambari.*&lt;/LI&gt;&lt;LI&gt;select*from ambari.hosts;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Step2:&lt;/P&gt;&lt;P&gt;Download the jar and &lt;/P&gt;&lt;P&gt;curl -L '&lt;A href="http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar'-o" target="_blank"&gt;http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar'-o&lt;/A&gt; postgresql-9.2-1002.jdbc4.jar&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5671-screen-shot-2016-07-08-at-125003-pm.png" style="width: 2476px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23135i8A036DDD2CF59A24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5671-screen-shot-2016-07-08-at-125003-pm.png" alt="5671-screen-shot-2016-07-08-at-125003-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step3:&lt;/P&gt;&lt;P&gt;sqoop list-tables --connect jdbc:postgresql://127.0.0.1/ambari --username ambari --password bigdata&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5672-screen-shot-2016-07-08-at-125448-pm.png" style="width: 2444px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23136i721B8F2981190F15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5672-screen-shot-2016-07-08-at-125448-pm.png" alt="5672-screen-shot-2016-07-08-at-125448-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step4: sqoop ambari hosts table into hdfs: password: bigdata&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:postgresql://127.0.0.1/ambari --username ambari -P --table hosts --target-dir /user/guest/ambari_hosts_table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5673-screen-shot-2016-07-08-at-125843-pm.png" style="width: 2480px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23137iF32160E6A8AB0E3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5673-screen-shot-2016-07-08-at-125843-pm.png" alt="5673-screen-shot-2016-07-08-at-125843-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:05:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114378#M77174</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2019-08-19T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Query returns Backend I/O Exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114379#M77175</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11653/kaush-lc.html" nodeid="11653"&gt;@ghost k&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If this resolved your problem can you please vote the best answer.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 01:52:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Query-returns-Backend-I-O-Exception/m-p/114379#M77175</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-07-15T01:52:12Z</dc:date>
    </item>
  </channel>
</rss>

