<?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: python thrift TSocket read 0 bytes in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/60918#M55640</link>
    <description>&lt;P&gt;Could you please inform how to modify this timeout?&lt;/P&gt;</description>
    <pubDate>Sat, 14 Oct 2017 07:07:18 GMT</pubDate>
    <dc:creator>y2k_shubhamgupt</dc:creator>
    <dc:date>2017-10-14T07:07:18Z</dc:date>
    <item>
      <title>python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/51331#M55638</link>
      <description>&lt;P&gt;Hi every one.&lt;/P&gt;&lt;P&gt;First we are using amazon EC2 for our hbase infrastructure.&lt;/P&gt;&lt;P&gt;We use 25 small instance to run our script (4 process in each instance), the script scan a table and make some computing before putting the new data to some other tables.&lt;/P&gt;&lt;P&gt;The script take some minutes before falling down saying : Exception thrift.transport.TTransport.TTransportException: TTransportException('TSocket read 0 bytes',) in &amp;lt;bound method Scanner.__del__ of &amp;lt;libs.bnet.thrift.hbase.scanner.Scanner instance at 0x7f439dddf7a0&amp;gt;&amp;gt; ignored&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had enabled TRACE logging in thrift server and i searched for somme error in the same instant when error happend, without success.&lt;/P&gt;&lt;P&gt;I don't have any idea about what is causing this. if you can help me thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:08:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/51331#M55638</guid>
      <dc:creator>tonnebrre</dc:creator>
      <dc:date>2022-09-16T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/51562#M55639</link>
      <description>&lt;P&gt;Hi every one.&lt;/P&gt;&lt;P&gt;the problem was that thrift close the connection socket after 1 min, than i needed to augment the thrift config key ( on ms) :&lt;/P&gt;&lt;P&gt;hbase.thrift.server.socket.read.timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 13:36:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/51562#M55639</guid>
      <dc:creator>tonnebrre</dc:creator>
      <dc:date>2017-02-28T13:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/60918#M55640</link>
      <description>&lt;P&gt;Could you please inform how to modify this timeout?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2017 07:07:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/60918#M55640</guid>
      <dc:creator>y2k_shubhamgupt</dc:creator>
      <dc:date>2017-10-14T07:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/60990#M55641</link>
      <description>use cloudera interface :&lt;BR /&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_mc_mod_configs.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_mc_mod_configs.html&lt;/A&gt;</description>
      <pubDate>Tue, 17 Oct 2017 09:24:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/60990#M55641</guid>
      <dc:creator>tonnebrre</dc:creator>
      <dc:date>2017-10-17T09:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/61167#M55642</link>
      <description>&lt;P&gt;I cannot use the Cloudera interface as I'm running Hive server inside docker container and trying to connect to the Hive server from outside the container through python (PyHive v0.5, python v2.7.13)&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:27:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/61167#M55642</guid>
      <dc:creator>y2k_shubhamgupt</dc:creator>
      <dc:date>2017-10-23T11:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: python thrift TSocket read 0 bytes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/61171#M55643</link>
      <description>adding these configuration settings as mentioned here (&lt;A href="https://issues.apache.org/jira/browse/HIVE-2006" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-2006&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;1. hive.server.read.socket.timeout=1000&lt;BR /&gt;2. hive.server.read.socket.timeout=1000&lt;BR /&gt;&lt;BR /&gt;in the file hive-site.xml also didn't work</description>
      <pubDate>Mon, 23 Oct 2017 11:18:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/python-thrift-TSocket-read-0-bytes/m-p/61171#M55643</guid>
      <dc:creator>y2k_shubhamgupt</dc:creator>
      <dc:date>2017-10-23T11:18:12Z</dc:date>
    </item>
  </channel>
</rss>

