<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FanaticZine &#187; Couldn&#8217;t close query</title>
	<atom:link href="http://www.fanaticzine.com/index.php/tag/couldnt-close-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fanaticzine.com</link>
	<description>Creativity Simplified</description>
	<lastBuildDate>Wed, 09 Mar 2011 05:52:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Couldn&#8217;t close query, Couldn&#8217;t get row from result set</title>
		<link>http://www.fanaticzine.com/index.php/2009/11/couldnt-close-query-couldnt-get-row-from-result-set/</link>
		<comments>http://www.fanaticzine.com/index.php/2009/11/couldnt-close-query-couldnt-get-row-from-result-set/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 10:23:40 +0000</pubDate>
		<dc:creator>z7oofy</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Kettle (PDI)]]></category>
		<category><![CDATA[Pentaho]]></category>
		<category><![CDATA[Communications link failure due to underlying exception]]></category>
		<category><![CDATA[Couldn't close query]]></category>
		<category><![CDATA[Couldn't get row from result set]]></category>

		<guid isPermaLink="false">http://www.fanaticzine.com/?p=220</guid>
		<description><![CDATA[Today when I was running one of my kettle scripts against a large Data Ware House DB, an error popped out in my log, something looks like this, Unexpected error : org.pentaho.di.core.exception.KettleDatabaseException: Couldn&#8217;t get row from result set and further Unexpected error closing query : org.pentaho.di.core.exception.KettleDatabaseException: Couldn&#8217;t close query: resultset or prepared statements Communications link [...]]]></description>
			<content:encoded><![CDATA[<p>Today when I was running one of my kettle scripts against a large Data Ware House DB, an error popped out in my log, something looks like this,</p>
<blockquote><p>Unexpected error :<br />
org.pentaho.di.core.exception.KettleDatabaseException:<br />
Couldn&#8217;t get row from result set</p></blockquote>
<p>and further</p>
<blockquote><p>Unexpected error closing query : org.pentaho.di.core.exception.KettleDatabaseException:<br />
Couldn&#8217;t close query: resultset or prepared statements<br />
Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException<br />
MESSAGE: Connection reset STACKTRACE:</p>
<p>java.net.SocketException: Connection reset</p></blockquote>
<p>This is simply because, after long time in execution the MySQL server get confused at somewhere in the corner and decides to not to feed the rows back to JDBC driver. As  I found in MySQL massage board placing SQL_NO_CACHE next  to your SELECT keyword (SELECT SQL_NO_CACHE * FROM users) should solve the issue.</p>
<p>I will confirm, if this works since my script is still running, so far so good!</p>
<p>To be verified….</p>
<p>REF :: <a href="http://forums.mysql.com/read.php?39,203407,217196#msg-217196">http://forums.mysql.com/read.php?39,203407,217196#msg-217196</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fanaticzine.com/index.php/2009/11/couldnt-close-query-couldnt-get-row-from-result-set/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

