<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: OutOfMemoryErrors when querying a hive table that is backed by a cassandra column family</title>
		<link>http://www.datastax.com/support-forums/topic/outofmemoryerrors-when-querying-a-hive-table-that-is-backed-by-a-cassandra-column-family</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 02:13:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/outofmemoryerrors-when-querying-a-hive-table-that-is-backed-by-a-cassandra-column-family" rel="self" type="application/rss+xml" />

		<item>
			<title>SVBridget on "OutOfMemoryErrors when querying a hive table that is backed by a cassandra column family"</title>
			<link>http://www.datastax.com/support-forums/topic/outofmemoryerrors-when-querying-a-hive-table-that-is-backed-by-a-cassandra-column-family#post-343</link>
			<pubDate>Mon, 25 Jul 2011 20:08:20 +0000</pubDate>
			<dc:creator>SVBridget</dc:creator>
			<guid isPermaLink="false">343@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;From the IRC: the solution is to set TBLPROPERTIES: cassandra.range.size - MapReduce range batch size - default 1000 - when creating the hive table.  Hive does not respect limit 100 at this point.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SVBridget on "OutOfMemoryErrors when querying a hive table that is backed by a cassandra column family"</title>
			<link>http://www.datastax.com/support-forums/topic/outofmemoryerrors-when-querying-a-hive-table-that-is-backed-by-a-cassandra-column-family#post-342</link>
			<pubDate>Mon, 25 Jul 2011 19:47:39 +0000</pubDate>
			<dc:creator>SVBridget</dc:creator>
			<guid isPermaLink="false">342@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello,&#60;br /&#62;
We are getting OOM errors when querying a hive table that is backed by a cassandra column family (see below).  Querying this cassandra column family from cassandra-cli works fine.  I am assuming we have something configured wrong (we have a fairly vanilla brisk install).  I saw some info on how to configure Cassandra to avoid OOM, but since the error is only on the hive side, I wasn't sure if that's where we need to change things.  Could anyone offer some advice?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-B&#60;/p&#62;
&#60;p&#62;(note that we get an OOM with or without the &#34;limit 100&#34;:&#60;/p&#62;
&#60;p&#62;hive&#38;gt; select * from idx_logs limit 100;&#60;br /&#62;
OK&#60;br /&#62;
Exception in thread &#34;main&#34; java.lang.OutOfMemoryError: Java heap space&#60;br /&#62;
        at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:140)&#60;br /&#62;
        at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)&#60;br /&#62;
        at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)&#60;br /&#62;
        at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)&#60;br /&#62;
        at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)&#60;br /&#62;
        at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)&#60;br /&#62;
        at org.apache.cassandra.thrift.Cassandra$Client.recv_get_range_slices(Cassandra.java:752)&#60;br /&#62;
        at org.apache.cassandra.thrift.Cassandra$Client.get_range_slices(Cassandra.java:734)&#60;br /&#62;
        at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.maybeInit(ColumnFamilyRecordReader.java:243)&#60;br /&#62;
        at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:279)&#60;br /&#62;
        at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:177)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
