<?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: Cassandra - loading csv using sstableloader</title>
		<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 21:19:19 +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/cassandra-loading-csv-using-sstableloader" rel="self" type="application/rss+xml" />

		<item>
			<title>chandu on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-8882</link>
			<pubDate>Sat, 02 Feb 2013 23:59:11 +0000</pubDate>
			<dc:creator>chandu</dc:creator>
			<guid isPermaLink="false">8882@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello Group,&#60;/p&#62;
&#60;p&#62;I am  using bulkoutputformat to load from HadoopToCassandra. We changed configuration  like rpc port  to 9161  &#38;amp; storage port to 7002.&#60;br /&#62;
How to i pass storage port number  from Hadoop Driver.&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
chandu
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2825</link>
			<pubDate>Mon, 09 Jul 2012 14:47:32 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2825@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi,&#60;/p&#62;
&#60;p&#62;I cleaned up the data directories /var/lib/cassandra/data and restarted the cassandra and now i am able to load the csv using nodetool refresh. &#60;/p&#62;
&#60;p&#62;Thanks for you help. I am trying to load from different machine now. &#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Kannan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2759</link>
			<pubDate>Fri, 06 Jul 2012 18:53:37 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2759@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, How can i start cassandra in debug mode?&#60;/p&#62;
&#60;p&#62;I opened the data.db file i see the data, i created sstable only for 3 rows that is why it is 653 byte.&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
kannan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2757</link>
			<pubDate>Fri, 06 Jul 2012 17:06:08 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">2757@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You can run Cassandra in DEBUG node and see if it actually did the loading or it's possible that there is no data in your SSTable (size of data component is only 652 bytes).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2754</link>
			<pubDate>Fri, 06 Jul 2012 16:13:17 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2754@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, I placed it in correct place and refreshed it. It did not throw any error but i dont see the data in the column family.&#60;/p&#62;
&#60;p&#62;[cassandra@LNX-XCC-VNA1T01 Users]$ ll&#60;br /&#62;
total 20&#60;br /&#62;
-rw-rw-r--. 1 cassandra cassandra  652 Jul  6 15:51 Users-g-1-Data.db&#60;br /&#62;
-rw-rw-r--. 1 cassandra cassandra   16 Jul  6 15:51 Users-g-1-Filter.db&#60;br /&#62;
-rw-rw-r--. 1 cassandra cassandra   78 Jul  6 15:51 Users-g-1-Index.db&#60;br /&#62;
-rw-rw-r--. 1 cassandra cassandra 4276 Jul  6 15:51 Users-g-1-Statistics.db&#60;br /&#62;
[cassandra@LNX-XCC-VNA1T01 Users]$ pwd&#60;br /&#62;
/var/lib/cassandra/data/xynergy/Users&#60;/p&#62;
&#60;p&#62;[cassandra@LNX-XCC-VNA1T01 bin]$ ./nodetool -h localhost refresh xynergy Users&#60;br /&#62;
[cassandra@LNX-XCC-VNA1T01 bin]$ ./cassandra-cli -host localhost -port 9160&#60;br /&#62;
Connected to: &#34;Test Cluster&#34; on localhost/9160&#60;br /&#62;
Welcome to the Cassandra CLI.&#60;/p&#62;
&#60;p&#62;Type 'help;' or '?' for help.&#60;br /&#62;
Type 'quit;' or 'exit;' to quit.&#60;/p&#62;
&#60;p&#62;Cassandra CLI version 0.8.10&#60;br /&#62;
[default@unknown] use xynergy;&#60;br /&#62;
Authenticated to keyspace: xynergy&#60;br /&#62;
[default@xynergy] list Users;&#60;br /&#62;
Using default limit of 100&#60;/p&#62;
&#60;p&#62;0 Row Returned.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Kannan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2752</link>
			<pubDate>Fri, 06 Jul 2012 15:50:49 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">2752@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If you have them placed to the correct place (with all other sstables that belong to particular Keyspace/ColumnFamily) in Cassandra's data directory e.g. /var/lib/cassandra/data/&#38;lt;ks&#38;gt;/&#38;lt;cf&#38;gt; you can use &#34;./bin/nodetool refresh &#38;lt;keyspace&#38;gt; &#38;lt;cf&#38;gt;&#34; to load them.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2751</link>
			<pubDate>Fri, 06 Jul 2012 15:45:19 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2751@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a different question here. Is there a way to load sstable to cassandra assuming both sstable and cassandra are in the same machine.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Kannan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2748</link>
			<pubDate>Fri, 06 Jul 2012 15:26:34 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">2748@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If Cassandra itself was started from the original directory and you are trying to run sstableloader on the modified configuration - you won't be able to do that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2746</link>
			<pubDate>Fri, 06 Jul 2012 15:06:54 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2746@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi i am using one node cluster. i copied the existing cassandra directory and modified the storage port to 7001 and running sstableloader from this directory. Can i load sstable this way?&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
Kannan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2745</link>
			<pubDate>Fri, 06 Jul 2012 14:53:29 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">2745@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I think that this error is self explanatory - there are no alive Cassandra nodes to connect to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2743</link>
			<pubDate>Fri, 06 Jul 2012 14:46:10 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2743@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi I fixed the above issue. I get the below error now.&#60;/p&#62;
&#60;p&#62;[cassandra@LNX-XCC-VNA1T01 bin]$ ./sstableloader -v /home/cassandra/apache-cassandra-0.8.10/xynergy&#60;br /&#62;
Starting client (and waiting 30 seconds for gossip) ...&#60;br /&#62;
java.lang.IllegalStateException: Cannot load any sstable, no live member found in the cluster
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2739</link>
			<pubDate>Fri, 06 Jul 2012 10:00:43 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">2739@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Error &#34;property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config&#34; means that you have configuration file from Cassandra &#38;gt;= 1.1.x but trying to actually run Cassandra &#38;lt;= 1.0.x
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/3#post-2730</link>
			<pubDate>Fri, 06 Jul 2012 02:17:09 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2730@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi i fixed the above issue. but i still have issue loading&#60;/p&#62;
&#60;p&#62;[cassandra@LNX-XCC-VNA1T01 bin]$ ./sstableloader -v /home/cassandra/apache-cassandra-0.8.10-sstableloader/xynergy&#60;br /&#62;
Starting client (and waiting 30 seconds for gossip) ...&#60;br /&#62;
ERROR 02:04:18,047 Fatal configuration error error&#60;br /&#62;
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot create property=key_cache_size_in_mb for JavaBean=org.apache.cassandra.config.Config@1a53929c; Unable to find property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config&#60;br /&#62;
 in &#34;&#38;lt;reader&#38;gt;&#34;, line 10, column 1:&#60;br /&#62;
    cluster_name: 'Test Cluster'&#60;br /&#62;
    ^&#60;/p&#62;
&#60;p&#62;	at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)&#60;br /&#62;
	at org.yaml.snakeyaml.Loader.load(Loader.java:52)&#60;br /&#62;
	at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)&#60;br /&#62;
	at org.apache.cassandra.config.DatabaseDescriptor.&#38;lt;clinit&#38;gt;(DatabaseDescriptor.java:139)&#60;br /&#62;
	at org.apache.cassandra.service.StorageService.&#38;lt;init&#38;gt;(StorageService.java:164)&#60;br /&#62;
	at org.apache.cassandra.service.StorageService.&#38;lt;clinit&#38;gt;(StorageService.java:167)&#60;br /&#62;
	at org.apache.cassandra.tools.BulkLoader$ExternalClient.init(BulkLoader.java:186)&#60;br /&#62;
	at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:104)&#60;br /&#62;
	at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:61)&#60;br /&#62;
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=key_cache_size_in_mb for JavaBean=org.apache.cassandra.config.Config@1a53929c; Unable to find property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)&#60;br /&#62;
	... 11 more&#60;br /&#62;
Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:342)&#60;br /&#62;
	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)&#60;br /&#62;
	... 13 more&#60;br /&#62;
null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot create property=key_cache_size_in_mb for JavaBean=org.apache.cassandra.config.Config@1a53929c; Unable to find property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config&#60;br /&#62;
Invalid yaml; unable to start server.  See log for stacktrace.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/2#post-2727</link>
			<pubDate>Fri, 06 Jul 2012 01:13:33 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2727@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I couldnt find a config file where i can change this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kannanspec on "Cassandra - loading csv using sstableloader"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-loading-csv-using-sstableloader/page/2#post-2726</link>
			<pubDate>Fri, 06 Jul 2012 01:12:10 +0000</pubDate>
			<dc:creator>kannanspec</dc:creator>
			<guid isPermaLink="false">2726@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi, i found the file where i need to fix it. &#60;/p&#62;
&#60;p&#62;I have another issue now. i stopped cassandra by killing the process, i started it again it is throwing me below error.&#60;/p&#62;
&#60;p&#62;[cassandra@LNX-XCC-VNA1T01 bin]$ ./cassandra &#38;amp;&#60;br /&#62;
[1] 2852&#60;br /&#62;
[cassandra@LNX-XCC-VNA1T01 bin]$&#60;br /&#62;
The stack size specified is too small, Specify at least 160k&#60;br /&#62;
Error: Could not create the Java Virtual Machine.&#60;br /&#62;
Error: A fatal exception has occurred. Program will exit.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Kannan.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
