<?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; User Favorites: mailme365</title>
		<link><a href='http://www.datastax.com/support-forums/profile/mailme365'>mailme365</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 15:55:51 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>mailme365 on "Why cassandra&#039;s cluster doesn&#039;t work?"</title>
			<link>http://www.datastax.com/support-forums/topic/why-cassandras-cluster-doesnt-work#post-8470</link>
			<pubDate>Thu, 17 Jan 2013 03:10:19 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">8470@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thank you khahn, I guess this is the root cause, since I'm using the virtual machine, so there is no DNS, I will try to try again in the real machine with DNS.  Thanks a lot for your answer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>khahn on "Why cassandra&#039;s cluster doesn&#039;t work?"</title>
			<link>http://www.datastax.com/support-forums/topic/why-cassandras-cluster-doesnt-work#post-8454</link>
			<pubDate>Wed, 16 Jan 2013 14:13:53 +0000</pubDate>
			<dc:creator>khahn</dc:creator>
			<guid isPermaLink="false">8454@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Your problem sounds like it might be related to these things: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.jointhegrid.com/highperfcassandra/?p=140&#34; rel=&#34;nofollow&#34;&#62;http://www.jointhegrid.com/highperfcassandra/?p=140&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/what-other-ports-than-7199-need-to-be-open-for-nodetool-to-work-td7407319.html&#34; rel=&#34;nofollow&#34;&#62;http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/what-other-ports-than-7199-need-to-be-open-for-nodetool-to-work-td7407319.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Why cassandra&#039;s cluster doesn&#039;t work?"</title>
			<link>http://www.datastax.com/support-forums/topic/why-cassandras-cluster-doesnt-work#post-8448</link>
			<pubDate>Wed, 16 Jan 2013 06:26:52 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">8448@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Could anyone help on this?  I'm still unable to run nodetool , get error &#34;Failed to connect to '127.0.0.1:7199': Connection refused&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Why cassandra&#039;s cluster doesn&#039;t work?"</title>
			<link>http://www.datastax.com/support-forums/topic/why-cassandras-cluster-doesnt-work#post-8385</link>
			<pubDate>Sun, 13 Jan 2013 16:16:19 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">8385@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It's so weird, the cluster doesn't work in the past days, but it's working now, from the log file of each cluster machine, I find they joined cluster, and I did some test to create table , they are visible from all the nodes.  &#60;/p&#62;
&#60;p&#62;However, when I execute nodetool ring, or nodetool -h 127.0.0.1 ring, or nodetool -h 192.168.0.103 ring, they all report connection error. &#60;/p&#62;
&#60;p&#62;And, I still don't understand why it doesn't work days ago(I didn't change anything today, and I'm very sure that cluster doesn't work days ago).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Why cassandra&#039;s cluster doesn&#039;t work?"</title>
			<link>http://www.datastax.com/support-forums/topic/why-cassandras-cluster-doesnt-work#post-8384</link>
			<pubDate>Sun, 13 Jan 2013 15:35:45 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">8384@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All, &#60;/p&#62;
&#60;p&#62;I setup 4 virtual machines by virtualbox, all the four machines installed ubuntu linux server edition with Cassandra 1.2.0, and they all adopt bridge network.  &#60;/p&#62;
&#60;p&#62;The problem I get is that these four machines could start in cluster mode when I'm working in office , but they don't work when I'm working from home. &#60;/p&#62;
&#60;p&#62;Since the four machines use bridge mode, the IP addresses in Company are different with those when I'm working from home. I have to change the IP addresses when I switch the ENV in cassandra.yaml configuration files in them. &#60;/p&#62;
&#60;p&#62;Since the ENV in company works, I only list the configuration in my home. &#60;/p&#62;
&#60;p&#62;Below is the list for the configuration items I changed for my home CLUSTER ENV: &#60;/p&#62;
&#60;p&#62;initial_token: 0 (all the four machines have different token, I use the token tool to generate token for them) &#60;/p&#62;
&#60;p&#62;listen_address: 192.168.0.103 (all the other machines set their own address, 192.168.0.104,192.168.105, 192.168.0.106) &#60;/p&#62;
&#60;p&#62; - class_name: org.apache.cassandra.locator.SimpleSeedProvider&#60;br /&#62;
      parameters:&#60;br /&#62;
          - seeds: &#34;192.168.0.103&#34;&#60;/p&#62;
&#60;p&#62;partitioner: org.apache.cassandra.dht.RandomPartitioner&#60;/p&#62;
&#60;p&#62;rpc_address: 0.0.0.0&#60;/p&#62;
&#60;p&#62;When, I startup the cassandra on these machines (I start the seed machine first), there is no error reported, however, they are running in their own local mode, whatever I created such as column family, it will be invisible to other nodes.   And when I execute nodetool ring in those machines, I get error message: &#60;/p&#62;
&#60;p&#62;~/software/java/apache-cassandra-1.2.0/conf$ nodetool ring&#60;br /&#62;
Failed to connect to '127.0.0.1:7199': Connection refused&#60;/p&#62;
&#60;p&#62;This is really weird, because when I'm working from home, after I changing the IP addresses in the cassandra.yaml file, the cluster ENV does work, does anyone could help on this?  Thanks a lot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Question for hector CQL driver API"</title>
			<link>http://www.datastax.com/support-forums/topic/question-for-hector-cql-driver-api#post-6533</link>
			<pubDate>Mon, 17 Sep 2012 14:21:38 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">6533@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thank you Srini, I updated code following the link you provided, it worked. Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Srini on "Question for hector CQL driver API"</title>
			<link>http://www.datastax.com/support-forums/topic/question-for-hector-cql-driver-api#post-6477</link>
			<pubDate>Fri, 14 Sep 2012 10:56:16 +0000</pubDate>
			<dc:creator>Srini</dc:creator>
			<guid isPermaLink="false">6477@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Already answered here,&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://stackoverflow.com/questions/7732651/how-to-use-cql-queries-to-get-different-datatypes-out-of-cassandra-with-java-cli&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/7732651/how-to-use-cql-queries-to-get-different-datatypes-out-of-cassandra-with-java-cli&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Question for hector CQL driver API"</title>
			<link>http://www.datastax.com/support-forums/topic/question-for-hector-cql-driver-api#post-6475</link>
			<pubDate>Fri, 14 Sep 2012 09:14:12 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">6475@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All, &#60;/p&#62;
&#60;p&#62;Following Hector's cql code examples, I created an example and I could execute this example successfully.  &#60;/p&#62;
&#60;p&#62;However, when reviewing the source code, I have a question for it. &#60;/p&#62;
&#60;p&#62;Here is the source code I created: &#60;/p&#62;
&#60;p&#62;        Cluster tutorialCluster  = HFactory.getOrCreateCluster(&#34;TutorialCluster&#34;, &#34;16.158.81.59:9160&#34;);&#60;br /&#62;
        ConfigurableConsistencyLevel ccl = new ConfigurableConsistencyLevel();&#60;br /&#62;
        ccl.setDefaultReadConsistencyLevel(HConsistencyLevel.ONE);&#60;br /&#62;
        Keyspace keyspace = HFactory.createKeyspace(&#34;Tutorial&#34;, tutorialCluster, ccl);&#60;/p&#62;
&#60;p&#62;CqlQuery&#38;lt;String,String,String&#38;gt; cqlQuery = new CqlQuery&#38;lt;String,String,String&#38;gt;(keyspace, se, se, se);&#60;br /&#62;
cqlQuery.setQuery(&#34;select * from testcql&#34;);&#60;br /&#62;
QueryResult&#38;lt;CqlRows&#38;lt;String,String,String&#38;gt;&#38;gt; result = cqlQuery.execute();&#60;br /&#62;
CqlRows&#38;lt;String,String,String&#38;gt; rows = result.get();&#60;br /&#62;
System.out.println(&#34;size is: &#34; + rows.getList().size());&#60;/p&#62;
&#60;p&#62;And here is the testcql column family I created for this example:&#60;br /&#62;
create column family testcql&#60;br /&#62;
    with comparator = 'UTF8Type'&#60;br /&#62;
    and default_validation_class = 'UTF8Type'&#60;br /&#62;
    and key_validation_class = 'UTF8Type';&#60;/p&#62;
&#60;p&#62;As I said, the code could run successfully, and I'm able to get the total rows for the column family testcql.  However, I'm very confused with &#34;CqlQuery&#38;lt;String,String,String&#38;gt;&#34; declaration, I know the three &#38;lt;String&#38;gt; is for the key type, value name type and value type, but if I create a column family with multiple column name type and column value type, then, how do I declare CqlQuery? &#60;/p&#62;
&#60;p&#62;For example,&#60;br /&#62;
when I create a table using cqlsh as below:&#60;br /&#62;
create table temptest (id int, value1 varchar, value2 int, primary key (id));&#60;/p&#62;
&#60;p&#62;And I describe the table in cassandra-cli:&#60;br /&#62;
[default@demodb] describe temptest;&#60;br /&#62;
    ColumnFamily: temptest&#60;br /&#62;
      Key Validation Class: org.apache.cassandra.db.marshal.Int32Type&#60;br /&#62;
      Default column value validator: org.apache.cassandra.db.marshal.UTF8Type&#60;br /&#62;
      Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type&#60;br /&#62;
      GC grace seconds: 864000&#60;br /&#62;
      Compaction min/max thresholds: 4/32&#60;br /&#62;
      Read repair chance: 0.1&#60;br /&#62;
      DC Local Read repair chance: 0.0&#60;br /&#62;
      Replicate on write: true&#60;br /&#62;
      Caching: KEYS_ONLY&#60;br /&#62;
      Bloom Filter FP chance: default&#60;br /&#62;
      Built indexes: []&#60;br /&#62;
      Column Metadata:&#60;br /&#62;
        Column Name: value2&#60;br /&#62;
          Validation Class: org.apache.cassandra.db.marshal.Int32Type&#60;br /&#62;
        Column Name: value1&#60;br /&#62;
          Validation Class: org.apache.cassandra.db.marshal.UTF8Type&#60;br /&#62;
      Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy&#60;br /&#62;
      Compression Options:&#60;br /&#62;
        sstable_compression: org.apache.cassandra.io.compress.SnappyCompressor&#60;/p&#62;
&#60;p&#62;For this table(column family), how do we declare CqlQuery since the value could be a number or a String ? &#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Questions for dynamic column family"</title>
			<link>http://www.datastax.com/support-forums/topic/questions-for-dynamic-column-family#post-6400</link>
			<pubDate>Tue, 11 Sep 2012 02:22:57 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">6400@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thank you Srini, you are right, I tested using cli command line, and I noticed that it's dynamic table when I create in cli.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Srini on "Questions for dynamic column family"</title>
			<link>http://www.datastax.com/support-forums/topic/questions-for-dynamic-column-family#post-6362</link>
			<pubDate>Sat, 08 Sep 2012 18:34:05 +0000</pubDate>
			<dc:creator>Srini</dc:creator>
			<guid isPermaLink="false">6362@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That's not possible with CQL v3. It was supported until v2.&#60;/p&#62;
&#60;p&#62;You would have to use CLI for creating dynamic column.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "Questions for dynamic column family"</title>
			<link>http://www.datastax.com/support-forums/topic/questions-for-dynamic-column-family#post-6360</link>
			<pubDate>Sat, 08 Sep 2012 13:43:32 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">6360@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All, &#60;/p&#62;
&#60;p&#62;I'm a newbie to Cassandra,  according to the doc link &#60;a href=&#34;http://www.datastax.com/docs/1.0/ddl/column_family&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.0/ddl/column_family&#60;/a&#62;, Cassandra does support dynamic column family and this is a very useful feature.  &#60;/p&#62;
&#60;p&#62;However, I don't know how to create the dynamic columns using CQL via &#34;Create Table&#34; statement?   Does any one knows about it or any clue on this? &#60;/p&#62;
&#60;p&#62;And one more question, I guess I could probably get the answer from the demo project &#34;&#38;lt;install_location&#38;gt;/demos/portfolio_manager&#34;, however, I could not find the folder named demos when extracting the mac version package.  Does anyone know where to get this demo?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mailme365 on "How to create dynamic column family via CQL?"</title>
			<link>http://www.datastax.com/support-forums/topic/how-to-create-dynamic-column-family-via-cql-1#post-6353</link>
			<pubDate>Sat, 08 Sep 2012 01:53:59 +0000</pubDate>
			<dc:creator>mailme365</dc:creator>
			<guid isPermaLink="false">6353@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All, &#60;/p&#62;
&#60;p&#62;I'm a newbie to Cassandra,  according to the doc link &#60;a href=&#34;http://www.datastax.com/docs/1.0/ddl/column_family&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.0/ddl/column_family&#60;/a&#62;, Cassandra does support dynamic column family and this is a very useful feature.  &#60;/p&#62;
&#60;p&#62;However, I don't know how to create the dynamic columns using CQL via &#34;Create Table&#34; statement?   Does any one knows about it or any clue on this? &#60;/p&#62;
&#60;p&#62;And one more question, I guess I could probably get the answer from the demo project &#34;&#38;lt;install_location&#38;gt;/demos/portfolio_manager&#34;, however, I could not find the folder named demos when extracting the mac version package.  Does anyone know where to get this demo? &#60;/p&#62;
&#60;p&#62;Thanks a lot in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
