<?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: Building Brisk from source to update Cassandra to 0.8.2</title>
		<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 07:15:20 +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/building-brisk-from-source-to-update-cassandra-to-082" rel="self" type="application/rss+xml" />

		<item>
			<title>gibrown on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-521</link>
			<pubDate>Wed, 21 Sep 2011 15:41:37 +0000</pubDate>
			<dc:creator>gibrown</dc:creator>
			<guid isPermaLink="false">521@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am running into similar problems due to trying to use CounterColumns which are only supported through Hadoop with cassandra 0.8.3+. I have tried replacing the jars:&#60;/p&#62;
&#60;p&#62;resources/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar&#60;br /&#62;
resources/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar&#60;/p&#62;
&#60;p&#62;Tested by replacing with both 0.8.6 and 0.8.3. In both cases I did get the Pig demo (003) to run, but was unable to access my CounterColumns via Pig. &#60;/p&#62;
&#60;p&#62;Most relevant error seems to be: Failed to read data from &#34;cassandra://SiteStats/views&#34;&#60;/p&#62;
&#60;p&#62;Any ideas on what else I might need to upgrade. The next thing I am thinking of trying is rebuilding Brisk from source rather than just copying in the jars. Any tips?&#60;/p&#62;
&#60;p&#62;Thanks for any help you can provide.&#60;br /&#62;
-Greg&#60;/p&#62;
&#60;p&#62;More background info:&#60;/p&#62;
&#60;p&#62;&#38;gt;describe keyspace SiteStats&#60;br /&#62;
Keyspace: SiteStats:&#60;br /&#62;
  Replication Strategy: org.apache.cassandra.locator.SimpleStrategy&#60;br /&#62;
  Durable Writes: true&#60;br /&#62;
    Options: [replication_factor:1]&#60;br /&#62;
    ColumnFamily: views&#60;br /&#62;
      Key Validation Class: org.apache.cassandra.db.marshal.BytesType&#60;br /&#62;
      Default column value validator: org.apache.cassandra.db.marshal.CounterColumnType&#60;br /&#62;
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType&#60;br /&#62;
      Row cache size / save period in seconds: 0.0/0&#60;br /&#62;
      Key cache size / save period in seconds: 200000.0/14400&#60;br /&#62;
      Memtable thresholds: 0.0703125/1440/15 (millions of ops/minutes/MB)&#60;br /&#62;
      GC grace seconds: 864000&#60;br /&#62;
      Compaction min/max thresholds: 4/32&#60;br /&#62;
      Read repair chance: 1.0&#60;br /&#62;
      Replicate on write: false&#60;br /&#62;
      Built indexes: []&#60;/p&#62;
&#60;p&#62;Pig script:&#60;br /&#62;
views = LOAD 'cassandra://SiteStats/views' USING CassandraStorage() AS (name, columns: bag {T: tuple(cname, cnt)});&#60;/p&#62;
&#60;p&#62;dump views;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cathy@datastax.com on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-515</link>
			<pubDate>Thu, 15 Sep 2011 03:40:23 +0000</pubDate>
			<dc:creator>cathy@datastax.com</dc:creator>
			<guid isPermaLink="false">515@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;We have confirmed that Brisk is currently only compatible with Cassandra 0.8.3 and soon to be released 0.8.6.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cathy@datastax.com on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-509</link>
			<pubDate>Wed, 14 Sep 2011 18:10:57 +0000</pubDate>
			<dc:creator>cathy@datastax.com</dc:creator>
			<guid isPermaLink="false">509@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you try to use the IP address of the machines instead of localhost?&#60;br /&#62;
I am trying to chase down some host resolution bugs when I run brisk with 0.8.5 and 1.0 but it seems if that each cluster I work with needs a slightly different specification:  my mac works with localhost, my debian cluster requires hostname (not localhost or IP address).  I'll run some tests today and see if it helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anthony.ikeda on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-507</link>
			<pubDate>Wed, 14 Sep 2011 17:25:56 +0000</pubDate>
			<dc:creator>anthony.ikeda</dc:creator>
			<guid isPermaLink="false">507@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Okay, that didn't help at all. I'm guessing there are more configuration settings required than just that - I get the same result:&#60;/p&#62;
&#60;p&#62;# Address to bind to and tell other Cassandra nodes to connect to. You&#60;br /&#62;
# _must_ change this if you want multiple nodes to be able to&#60;br /&#62;
# communicate!&#60;br /&#62;
#&#60;br /&#62;
# Leaving it blank leaves it up to InetAddress.getLocalHost(). This&#60;br /&#62;
# will always do the Right Thing *if* the node is properly configured&#60;br /&#62;
# (hostname, name resolution, etc), and the Right Thing is to use the&#60;br /&#62;
# address associated with the hostname (it might not be).&#60;br /&#62;
#&#60;br /&#62;
# Setting this to 0.0.0.0 is always wrong.&#60;br /&#62;
listen_address: localhost&#60;/p&#62;
&#60;p&#62;# The address to bind the Thrift RPC service to -- clients connect&#60;br /&#62;
# here. Unlike ListenAddress above, you *can* specify 0.0.0.0 here if&#60;br /&#62;
# you want Thrift to listen on all interfaces.&#60;br /&#62;
#&#60;br /&#62;
# Leaving this blank has the same effect it does for ListenAddress,&#60;br /&#62;
# (i.e. it will be based on the configured hostname of the node).&#60;br /&#62;
# Brisk nodes should leave this as 0.0.0.0&#60;br /&#62;
# rpc_address: 0.0.0.0&#60;br /&#62;
rpc_address: localhost&#60;/p&#62;
&#60;p&#62;hive&#38;gt; create external table Registry(registry_id string, external_id string, name string)&#60;br /&#62;
    &#38;gt; stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'&#60;br /&#62;
    &#38;gt; with serdeproperties (&#34;cassandra.columns.mapping&#34; = &#34;c-externalId,c-name&#34;)&#60;br /&#62;
    &#38;gt; tblproperties (&#34;cassandra.range.size&#34; = &#34;100&#34;,&#60;br /&#62;
    &#38;gt; &#34;cassandra.ks.name&#34; = &#34;RegistryFoundation&#34;,&#34;cassandra.slice.predicate.size&#34; = &#34;100&#34; );&#60;br /&#62;
OK&#60;br /&#62;
Time taken: 0.092 seconds&#60;br /&#62;
hive&#38;gt; select * from Registry;&#60;br /&#62;
OK&#60;br /&#62;
Failed with exception java.io.IOException:java.io.IOException: Could not get input splits&#60;br /&#62;
Time taken: 0.045 seconds&#60;br /&#62;
hive&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cathy@datastax.com on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-506</link>
			<pubDate>Wed, 14 Sep 2011 05:36:50 +0000</pubDate>
			<dc:creator>cathy@datastax.com</dc:creator>
			<guid isPermaLink="false">506@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Disregard the comment in the brisk cassandra.yaml file, and set rpc_address from '0.0.0.0' to the same value used for listen_address.  I believe that should fix you.   &#60;/p&#62;
&#60;p&#62;I encountered other issues running terasort which required that /etc/hosts was configured on all nodes, and once that was in place I needed to specify both listen_address and rpc_address to &#60;code&#62;hostname&#60;/code&#62;.  I am not sure if this last step will be required for you but thought that I would mention it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anthony.ikeda on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-503</link>
			<pubDate>Wed, 14 Sep 2011 00:16:36 +0000</pubDate>
			<dc:creator>anthony.ikeda</dc:creator>
			<guid isPermaLink="false">503@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Any progress on running Brisk with 0.8.5? I tried replacing the jars and although brisk cassandra -t works, when I try and query with hive I get:&#60;/p&#62;
&#60;p&#62;hive&#38;gt; select * from Registry;&#60;br /&#62;
OK&#60;br /&#62;
Failed with exception java.io.IOException:java.io.IOException: Could not get input splits&#60;br /&#62;
Time taken: 0.133 seconds
&#60;/p&#62;</description>
		</item>
		<item>
			<title>t0mas on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-449</link>
			<pubDate>Thu, 18 Aug 2011 15:49:08 +0000</pubDate>
			<dc:creator>t0mas</dc:creator>
			<guid isPermaLink="false">449@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The update unfortunately causes issues, because of the changes in &#60;a href=&#34;https://issues.apache.org/jira/browse/CASSANDRA-1777&#34;&#62;CASSANDRA-1777&#60;/a&#62;. Those changes caused a new problem where Cassandra accidentally adds a &#34;/&#34; character to the returned address, this is fixed in &#60;a href=&#34;https://issues.apache.org/jira/browse/CASSANDRA-3044&#34;&#62;CASSANDRA-3044&#60;/a&#62; (for 0.8.5).&#60;/p&#62;
&#60;p&#62;The combination however still doesn't work, because when the node has its rpc_address set to &#34;0.0.0.0&#34; (required for Brisk to allow access from localhost) then it also returns &#34;0.0.0.0&#34; in TokenRange.endpoints which Brisk then tries to connect to during setup of the job, but connecting to &#34;0.0.0.0&#34; obviously doesn't work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>t0mas on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-438</link>
			<pubDate>Mon, 15 Aug 2011 11:40:30 +0000</pubDate>
			<dc:creator>t0mas</dc:creator>
			<guid isPermaLink="false">438@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks, I'll do so in our test environment and report how it worked out. Also a quick suggestion for the forum: You should add the &#34;email me when a reply is received&#34; option so people know when something is answered :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-415</link>
			<pubDate>Tue, 09 Aug 2011 18:17:39 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">415@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I just spoke with our Brisk team and you should be fine with just replacing the jar file. If you were to be rebuilding it from source, then changing the dependency version should be all that is needed as well. At this point, the additional Brisk specific patches on top of Cassandra 0.8.1 are already apart of Cassandra core.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>t0mas on "Building Brisk from source to update Cassandra to 0.8.2"</title>
			<link>http://www.datastax.com/support-forums/topic/building-brisk-from-source-to-update-cassandra-to-082#post-409</link>
			<pubDate>Mon, 08 Aug 2011 16:09:43 +0000</pubDate>
			<dc:creator>t0mas</dc:creator>
			<guid isPermaLink="false">409@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I have a few problems with Brisk-1.0-beta2 because it uses Cassandra 0.8.1 which has some bugs. These bugs are fixed in the 0.8.2 release of Cassandra so I'm looking for a way to &#34;upgrade&#34; my Brisk setup to the new Cassandra.&#60;/p&#62;
&#60;p&#62;The issue that's currently bothering me the most is CASSANDRA-2846: Changing replication_factor does not work.&#60;/p&#62;
&#60;p&#62;I looked into the source archive and found out that all files needed for creating a Debian package are in there. What would be the steps of upgrading the Cassandra version? Is there an overview of all Brisk specific patches that would need to be re-applied? Or could I just change the dependency version in the build-properties?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
