<?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: alexliu</title>
		<link><a href='http://www.datastax.com/support-forums/profile/alexliu'>alexliu</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 16:03:25 +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>kitty on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-11223</link>
			<pubDate>Sun, 19 May 2013 06:15:54 +0000</pubDate>
			<dc:creator>kitty</dc:creator>
			<guid isPermaLink="false">11223@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am also using dse-3.0.1&#60;br /&#62;
 In the above example given at link : &#60;a href=&#34;http://www.datastax.com/dev/blog/bulk-loading&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/dev/blog/bulk-loading&#60;/a&#62;, added partitioner(random partitioner) in constructer argument list, and followed all the steps.Code compiles without errors but on running the script, I keep getting error below:&#60;br /&#62;
Error instantiating snitch class ‘com.datastax.bdp.snitch.DseDelegateSnitch’.&#60;br /&#62;
Fatal configuration error; unable to start server. See log for stacktrace.&#60;/p&#62;
&#60;p&#62;I am executing it from location /usr/lib/datastax/dse-3.0.1/resources/cassandra&#60;/p&#62;
&#60;p&#62;This is my script file&#60;/p&#62;
&#60;p&#62;#!/bin/sh&#60;/p&#62;
&#60;p&#62;# paths to the cassandra source tree, cassandra jar and java&#60;br /&#62;
CASSANDRA_HOME=”.”&#60;br /&#62;
CASSANDRA_JAR=”$CASSANDRA_HOME/../../lib/dse-3.0.1.jar”&#60;br /&#62;
JAVA=&#60;code&#62;which java&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;# Java classpath. Must include:&#60;br /&#62;
# – directory of DataImportExample&#60;br /&#62;
# – directory with cassandra/log4j config files&#60;br /&#62;
# – cassandra jar&#60;br /&#62;
# – cassandra depencies jar&#60;br /&#62;
CLASSPATH=”.:$CASSANDRA_HOME/conf:$CASSANDRA_JAR”&#60;/p&#62;
&#60;p&#62;for jar in $CASSANDRA_HOME/lib/*.jar; do&#60;br /&#62;
CLASSPATH=$CLASSPATH:$jar&#60;br /&#62;
done&#60;/p&#62;
&#60;p&#62;$JAVA -ea -cp $CLASSPATH -Xmx256M \&#60;br /&#62;
-Dlog4j.configuration=log4j-tools.properties \&#60;br /&#62;
DataImportExample “/home/myuser/cassandra_artifacts/demodata.csv”&#60;/p&#62;
&#60;p&#62;Is there anything taht I have missed out.&#60;br /&#62;
Can anyone pls help me identify the issue???
&#60;/p&#62;</description>
		</item>
		<item>
			<title>upant on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-11186</link>
			<pubDate>Fri, 17 May 2013 16:03:03 +0000</pubDate>
			<dc:creator>upant</dc:creator>
			<guid isPermaLink="false">11186@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;This is what I have in my run script:&#60;br /&#62;
# paths to the cassandra source tree, cassandra jar and java&#60;br /&#62;
CASSANDRA_HOME=&#34;/usr/share/dse/&#34;&#60;br /&#62;
CASSANDRA_JAR=&#34;$CASSANDRA_HOME/dse.jar&#34;&#60;br /&#62;
JAVA=&#60;code&#62;which java&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;# Java classpath. Must include:&#60;br /&#62;
#   - directory of DataImportExample&#60;br /&#62;
#   - directory with cassandra/log4j config files&#60;br /&#62;
#   - cassandra jar&#60;br /&#62;
#   - cassandra depencies jar&#60;br /&#62;
CLASSPATH=&#34;.:/etc/dse/cassandra/:/etc/dse/cassandra/cassandra.yaml:/etc/dse/cassandra/log4j-tools.properties:$CASSANDRA_JAR&#34;&#60;/p&#62;
&#60;p&#62;for jar in $CASSANDRA_HOME/cassandra/lib/*.jar; do&#60;br /&#62;
    CLASSPATH=$CLASSPATH:$jar&#60;br /&#62;
done&#60;/p&#62;
&#60;p&#62;$JAVA -ea -cp $CLASSPATH -Xmx256M \&#60;br /&#62;
        -Dlog4j.configuration=log4j-tools.properties \&#60;br /&#62;
        DataImportExample &#34;$@&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexliu on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-11156</link>
			<pubDate>Thu, 16 May 2013 19:37:15 +0000</pubDate>
			<dc:creator>alexliu</dc:creator>
			<guid isPermaLink="false">11156@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You may need include the &#38;lt;DSE_HOME&#38;gt;/lib/&#38;lt;dse.jar&#38;gt; in your class path, also make sure the  resources/cassandra/conf/cassandra.yaml is in the front of class path.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>upant on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-11025</link>
			<pubDate>Tue, 14 May 2013 17:29:28 +0000</pubDate>
			<dc:creator>upant</dc:creator>
			<guid isPermaLink="false">11025@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;- Installed DSE using RPM package.&#60;br /&#62;
- Created keyspace and column families as mentioned in the example and was able to write/read data using CLI.&#60;br /&#62;
- Created a Java class(DataImportExample) using example code at &#60;a href=&#34;http://www.datastax.com/wp-content/uploads/2011/08/DataImportExample.java&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/wp-content/uploads/2011/08/DataImportExample.java&#60;/a&#62;.&#60;br /&#62;
- While compiling the class, I got an error. The code listed in the example doesn't have partitioner argument in SSTableSimpleUnsortedWriter constructor. So, passing RandomPartitioner the constructor fixed the error.&#60;br /&#62;
- Executed the class (DataImportExample) and I got following error:&#60;br /&#62;
Error instantiating snitch class 'com.datastax.bdp.snitch.DseDelegateSnitch'.&#60;br /&#62;
Fatal configuration error; unable to start server.&#60;/p&#62;
&#60;p&#62;- Location of the Java class is /home/myuser/workspace/&#60;br /&#62;
- I compiled and executed the class from this folder.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexliu on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-10982</link>
			<pubDate>Mon, 13 May 2013 22:07:38 +0000</pubDate>
			<dc:creator>alexliu</dc:creator>
			<guid isPermaLink="false">10982@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It should work, which directory are you in and what command did you issue?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>upant on "sstableloader error"</title>
			<link>http://www.datastax.com/support-forums/topic/sstableloader-error#post-10719</link>
			<pubDate>Tue, 07 May 2013 20:59:47 +0000</pubDate>
			<dc:creator>upant</dc:creator>
			<guid isPermaLink="false">10719@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am running DSE 3.0 in CentOS 6.x. I followed installation instructions at &#60;a href=&#34;http://www.datastax.com/docs/datastax_enterprise3.0/install/install_rpm_pkg&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/datastax_enterprise3.0/install/install_rpm_pkg&#60;/a&#62;. I can create column families, insert data and retrieve data using CLI. However, whenI tried to run sstableloader (&#60;a href=&#34;http://www.datastax.com/dev/blog/bulk-loading)&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/dev/blog/bulk-loading)&#60;/a&#62;, I got following error:&#60;/p&#62;
&#60;p&#62;Error instantiating snitch class 'com.datastax.bdp.snitch.DseDelegateSnitch'.&#60;br /&#62;
Fatal configuration error; unable to start server.&#60;/p&#62;
&#60;p&#62;I tried the same code in Apache Cassandra (not DataStax distribution) and I was able to run the loader without any issue or any additional configuration.&#60;/p&#62;
&#60;p&#62;Has anybody tried sstableloader in DSE?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Uddhab
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jack Krupansky on "Solr mapping problem"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-mapping-problem/page/2#post-10627</link>
			<pubDate>Sun, 05 May 2013 15:43:23 +0000</pubDate>
			<dc:creator>Jack Krupansky</dc:creator>
			<guid isPermaLink="false">10627@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Generally, it is best to create a Solr-searchable column family from scratch using the Solr HTTP API as shown in the documentation. Then, DSE will assure that the column family is Solr-compatible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jack Krupansky on "DSE 3.0 with Solr giving 404 error"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-30-with-solr-giving-404-error#post-10625</link>
			<pubDate>Sun, 05 May 2013 15:31:06 +0000</pubDate>
			<dc:creator>Jack Krupansky</dc:creator>
			<guid isPermaLink="false">10625@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I don't see any way that your issue could be related to this particular issue, the 404 error.&#60;/p&#62;
&#60;p&#62;FWIW, generally you should create a &#34;Solr&#34; column family from scratch using the Solr HTTP API. There is a known issue with trying to &#34;Solarize&#34; an existing Cassandra column family. Once you have created the column family using Solr, you can then add data with either the Solr or Cassandra APIs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rahul on "DSE 3.0 with Solr giving 404 error"</title>
			<link>http://www.datastax.com/support-forums/topic/dse-30-with-solr-giving-404-error#post-10596</link>
			<pubDate>Sat, 04 May 2013 06:11:12 +0000</pubDate>
			<dc:creator>rahul</dc:creator>
			<guid isPermaLink="false">10596@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Here i am using DSE3.0.1. I am creating a dynamic composite column family through cassandra-cli.&#60;/p&#62;
&#60;p&#62;[default@one] CREATE COLUMN FAMILY XYZ&#60;br /&#62;
WITH comparator = UTF8Type&#60;br /&#62;
AND key_validation_class=UTF8Type&#60;br /&#62;
AND default_validation_class = UTF8Type;&#60;/p&#62;
&#60;p&#62;But at indexing  :--&#60;br /&#62;
curl &#34;http://localhost:8983/solr/admin/cores?CREATE&#38;amp;name=one.XYZ&#34;&#60;/p&#62;
&#60;p&#62;Solr gives following error:--&#60;/p&#62;
&#60;p&#62;&#38;lt;html&#38;gt;&#38;lt;head&#38;gt;&#38;lt;title&#38;gt;Apache Tomcat/6.0.32 - Error report&#38;lt;/title&#38;gt;&#38;lt;style&#38;gt;&#38;lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--&#38;gt;&#38;lt;/style&#38;gt; &#38;lt;/head&#38;gt;&#38;lt;body&#38;gt;&#38;lt;h1&#38;gt;HTTP Status 500 - &#38;lt;/h1&#38;gt;&#38;lt;HR size=&#34;1&#34; noshade=&#34;noshade&#34;&#38;gt;&#38;lt;p&#38;gt;&#38;lt;b&#38;gt;type&#38;lt;/b&#38;gt; Status report&#38;lt;/p&#38;gt;&#38;lt;p&#38;gt;&#38;lt;b&#38;gt;message&#38;lt;/b&#38;gt; &#38;lt;u&#38;gt;&#38;lt;/u&#38;gt;&#38;lt;/p&#38;gt;&#38;lt;p&#38;gt;&#38;lt;b&#38;gt;description&#38;lt;/b&#38;gt; &#38;lt;u&#38;gt;The server encountered an internal error () that prevented it from fulfilling this request.&#38;lt;/u&#38;gt;&#38;lt;/p&#38;gt;&#38;lt;HR size=&#34;1&#34; noshade=&#34;noshade&#34;&#38;gt;&#38;lt;h3&#38;gt;Apache Tomcat/6.0.32&#38;lt;/h3&#38;gt;&#38;lt;/body&#38;gt;&#38;lt;/html&#38;gt;&#60;/p&#62;
&#60;p&#62;Where am i missing or can i search solr query from cassandra database without indexing them? Please help me. I have badly need it. It'll be very great-full for you.&#60;br /&#62;
              Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rahul on "Solr mapping problem"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-mapping-problem/page/2#post-10593</link>
			<pubDate>Sat, 04 May 2013 05:04:02 +0000</pubDate>
			<dc:creator>rahul</dc:creator>
			<guid isPermaLink="false">10593@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Here i am using DSE3.0.1. I am creating a composite column family through cassandra-cli.But at indexing solr gives error that &#34;Solr indexes are not supported on ColumnFamilies with non-string comparators&#34;.&#60;/p&#62;
&#60;p&#62;create column family BenchmarkColumnFamily with&#60;br /&#62;
    comparator = 'CompositeType(UTF8Type,UTF8Type)' AND&#60;br /&#62;
    key_validation_class=DateType AND&#60;br /&#62;
    default_validation_class=UTF8Type AND&#60;br /&#62;
    column_metadata = [&#60;br /&#62;
    {column_name: XYZ, validation_class: UTF8Type}&#60;br /&#62;
    ];&#60;br /&#62;
Where am i missing or can i search solr query from cassandra database without indexing them? Please help me. I have badly need it. It'll be very great-full for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andy on "newbie: trouble with cql containers and secondary index on composite keys"</title>
			<link>http://www.datastax.com/support-forums/topic/newbie-trouble-with-cql-containers-and-secondary-index-on-composite-keys#post-10588</link>
			<pubDate>Fri, 03 May 2013 17:43:58 +0000</pubDate>
			<dc:creator>andy</dc:creator>
			<guid isPermaLink="false">10588@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi alexliu and sam&#60;/p&#62;
&#60;p&#62;alexliu's example did not work. I think Sam's explanation is correct. I look forward to version 3.1&#60;/p&#62;
&#60;p&#62;Andy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "newbie: trouble with cql containers and secondary index on composite keys"</title>
			<link>http://www.datastax.com/support-forums/topic/newbie-trouble-with-cql-containers-and-secondary-index-on-composite-keys#post-10585</link>
			<pubDate>Fri, 03 May 2013 07:50:24 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">10585@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The music application example in the blog post uses the final version of CQL 3.0, which is only supported in Cassandra version 1.2 or greater. The current release of DataStax Enterprise (3.0.1) ships with Cassandra 1.1, which supports CQL 3.0-beta. Unfortunately, there are some differences between the two CQL versions which means that for the moment, the example schema can't be created on DSE. DSE 3.1 will include Cassandra 1.2 &#38;amp; this is currently in development and we're aiming to release late in Q2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexliu on "newbie: trouble with cql containers and secondary index on composite keys"</title>
			<link>http://www.datastax.com/support-forums/topic/newbie-trouble-with-cql-containers-and-secondary-index-on-composite-keys#post-10580</link>
			<pubDate>Fri, 03 May 2013 00:51:11 +0000</pubDate>
			<dc:creator>alexliu</dc:creator>
			<guid isPermaLink="false">10580@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The following is working for me&#60;/p&#62;
&#60;p&#62;MacBook-Pro:cassandra alex$ bin/cqlsh -3&#60;br /&#62;
Connected to Test Cluster at localhost:9160.&#60;br /&#62;
[cqlsh 2.3.0 &#124; Cassandra 1.2.2-DSE-SNAPSHOT &#124; CQL spec 3.0.0 &#124; Thrift protocol 19.35.0]&#60;br /&#62;
Use HELP for help.&#60;br /&#62;
cqlsh&#38;gt; use cql3_worldcount4&#60;br /&#62;
   ... ;&#60;br /&#62;
cqlsh:cql3_worldcount4&#38;gt; create table a (m int, n int, o int, primary key(m));&#60;br /&#62;
cqlsh:cql3_worldcount4&#38;gt; alter table a add tags set&#38;lt;text&#38;gt;;&#60;br /&#62;
cqlsh:cql3_worldcount4&#38;gt; create index foo on a(o);&#60;/p&#62;
&#60;p&#62;I guess that you are not using the latest cql version. You can try my example, if it doesn't work, then you may need wait until DSE next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andy on "newbie: trouble with cql containers and secondary index on composite keys"</title>
			<link>http://www.datastax.com/support-forums/topic/newbie-trouble-with-cql-containers-and-secondary-index-on-composite-keys#post-10575</link>
			<pubDate>Thu, 02 May 2013 22:29:20 +0000</pubDate>
			<dc:creator>andy</dc:creator>
			<guid isPermaLink="false">10575@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am new to cassandra datastax enterprise. I am having a lot of trouble with the sample music app in the documentation.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/docs/1.2/ddl/table#compound-keys-and-clustering&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.2/ddl/table#compound-keys-and-clustering&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am not able to create an index on the playlists table.&#60;/p&#62;
&#60;p&#62;Here is how I start cql on my mac&#60;/p&#62;
&#60;p&#62;$ ~/cassandra/dataStax/dse-3.0.1/bin/cqlsh --version&#60;br /&#62;
cqlsh 2.2.0&#60;br /&#62;
$ &#60;/p&#62;
&#60;p&#62;dataStax/dse-3.0.1/bin/cqlsh --cql3&#60;/p&#62;
&#60;p&#62;Also the container types do not seem to work.&#60;/p&#62;
&#60;p&#62;cqlsh:aedwip&#38;gt; ALTER TABLE songs ADD tags set&#38;lt;text&#38;gt;;&#60;br /&#62;
Bad Request: line 1:27 no viable alternative at input 'set'&#60;/p&#62;
&#60;p&#62;Any idea what I am doing wrong?&#60;/p&#62;
&#60;p&#62;thanks in advance &#60;/p&#62;
&#60;p&#62;Andy&#60;/p&#62;
&#60;p&#62;CREATE TABLE playlists (&#60;br /&#62;
  id uuid,&#60;br /&#62;
  song_id uuid,&#60;br /&#62;
  album text,&#60;br /&#62;
  artist text,&#60;br /&#62;
  title text,&#60;br /&#62;
  PRIMARY KEY (id, song_id)&#60;br /&#62;
) WITH&#60;br /&#62;
  comment='' AND&#60;br /&#62;
  caching='KEYS_ONLY' AND&#60;br /&#62;
  read_repair_chance=0.100000 AND&#60;br /&#62;
  gc_grace_seconds=864000 AND&#60;br /&#62;
  replicate_on_write='true' AND&#60;br /&#62;
  compaction_strategy_class='SizeTieredCompactionStrategy' AND&#60;br /&#62;
  compression_parameters:sstable_compression='SnappyCompressor';&#60;/p&#62;
&#60;p&#62;cqlsh:aedwip&#38;gt; CREATE INDEX ON playlists(artist);&#60;br /&#62;
Bad Request: Secondary indexes are not (yet) supported on tables with composite PRIMARY KEY&#60;br /&#62;
Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.&#60;br /&#62;
cqlsh:aedwip&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Abhijit on "Datastax API- CQL Binary protocol example"</title>
			<link>http://www.datastax.com/support-forums/topic/datastax-api-cql-binary-protocol-example#post-10564</link>
			<pubDate>Thu, 02 May 2013 09:30:58 +0000</pubDate>
			<dc:creator>Abhijit</dc:creator>
			<guid isPermaLink="false">10564@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;He is talking about DSE v 3.0.1&#60;/p&#62;
&#60;p&#62;-Abhijit
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
