<?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: pkolaczk</title>
		<link><a href='http://www.datastax.com/support-forums/profile/pkolaczk'>pkolaczk</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 06:00:17 +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>bezgoan on "Reduce operation hangs"</title>
			<link>http://www.datastax.com/support-forums/topic/reduce-operation-hangs#post-9602</link>
			<pubDate>Fri, 29 Mar 2013 12:24:01 +0000</pubDate>
			<dc:creator>bezgoan</dc:creator>
			<guid isPermaLink="false">9602@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi got this resolved. it was problem with debian setup in /etc/hosts.&#60;/p&#62;
&#60;p&#62;computer name is put against 127.0.1.1 in debian system and&#60;br /&#62;
127.0.0.1 is localhost. added computer name to localhost and nodes started communicating.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Shashank.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Reduce operation hangs"</title>
			<link>http://www.datastax.com/support-forums/topic/reduce-operation-hangs#post-9496</link>
			<pubDate>Sat, 23 Mar 2013 18:12:49 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">9496@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you post more information about your cluster setup? Can you post dsetool ring output? What is in your /etc/hosts?&#60;br /&#62;
There is a bug in DSE 3.0.0 causing Hadoop jobs to hang before reduce phase on multihomed hosts, when running on localhost. Generally changing listen_address and seed nodes in cassandra.yaml from localhost to the proper hostname helps. It is possible you are running into that problem. It is fixed in 3.0.1 which we're going to release soon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9495</link>
			<pubDate>Fri, 22 Mar 2013 21:40:04 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">9495@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Sorry for the late response. Are you still on this? I would recommend going to a more modern version of DSE, as that has a newer version of C*. I would suspect that as long as you have that option in there, you will see these errors, as the old C* is not supporting that. Does the command work without the change to cassandra.yaml? Do you get a different error?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bezgoan on "Reduce operation hangs"</title>
			<link>http://www.datastax.com/support-forums/topic/reduce-operation-hangs#post-9461</link>
			<pubDate>Sat, 16 Mar 2013 17:46:43 +0000</pubDate>
			<dc:creator>bezgoan</dc:creator>
			<guid isPermaLink="false">9461@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All,&#60;/p&#62;
&#60;p&#62;I have managed to run an MR job in DSE3.0 enterprise edition.&#60;br /&#62;
The problem seems to be with reduce job, which is not responding at all.&#60;br /&#62;
I suspect it should be because I am using&#60;br /&#62;
FileOutputFormat.setOutputPath(job, new Path(args[2]));&#60;br /&#62;
to set the output paths, but cassandra (understand it is underlying DFS) is supposedly not responding.&#60;br /&#62;
Not sure on how to figure out exact reason for reduce operation hanging.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Shashank.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Hans-Peter.Sloot_atos.net on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9058</link>
			<pubDate>Mon, 18 Feb 2013 07:41:58 +0000</pubDate>
			<dc:creator>Hans-Peter.Sloot_atos.net</dc:creator>
			<guid isPermaLink="false">9058@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;But what is the relation between setting the timeuuid() as :&#60;/p&#62;
&#60;p&#62;&#60;code&#62;SET blog_entry[&#38;#039;yomama&#38;#039;][timeuuid()] = &#38;#039;I love my new shoes!&#38;#039;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and the error and the tweaking?&#60;br /&#62;
That is what I do not understand.&#60;br /&#62;
How do I need to tweak the cache size to prevent the cassandra-cli to terminate?&#60;br /&#62;
Is the timeuuid also not permitted in 2.1?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9029</link>
			<pubDate>Fri, 15 Feb 2013 16:34:16 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">9029@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The version of DSE (2.1) you are using includes an old version of Cassandra that is not aware of that option. &#60;/p&#62;
&#60;p&#62;So if you want to stick with that version, the instructions on how to tweak Cassandra are here: &#60;a href=&#34;http://www.datastax.com/docs/1.0/operations/tuning#configuring-the-column-family-key-cache&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.0/operations/tuning#configuring-the-column-family-key-cache&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;If you want to change the setting the way you tried (which is consistent with more modern version of Cassandra), I would recommend you go to a newer version of DSE.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Hans-Peter.Sloot_atos.net on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9028</link>
			<pubDate>Fri, 15 Feb 2013 14:51:17 +0000</pubDate>
			<dc:creator>Hans-Peter.Sloot_atos.net</dc:creator>
			<guid isPermaLink="false">9028@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Sorry for being a dummy.&#60;br /&#62;
Why does it complain about the key_cache_size_in_mb?&#60;/p&#62;
&#60;p&#62;I do not understand what I should change about the cf either.&#60;/p&#62;
&#60;p&#62;Regards Hans-Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9027</link>
			<pubDate>Fri, 15 Feb 2013 14:43:25 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">9027@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Cassandra 1.0 does not have key_cache_size_in_mb property. This property was added in 1.1 version.&#60;/p&#62;
&#60;p&#62;Cassandra 1.0 cache size was configured per cf. Follow the instructions here:&#60;br /&#62;
&#60;a href=&#34;http://www.datastax.com/docs/1.0/operations/tuning#configuring-the-column-family-key-cache&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/1.0/operations/tuning#configuring-the-column-family-key-cache&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Hans-Peter.Sloot_atos.net on "Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error"</title>
			<link>http://www.datastax.com/support-forums/topic/error-in-cassandra-cli-error-110506144-fatal-configuration-error-error#post-9026</link>
			<pubDate>Fri, 15 Feb 2013 14:16:17 +0000</pubDate>
			<dc:creator>Hans-Peter.Sloot_atos.net</dc:creator>
			<guid isPermaLink="false">9026@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am trying to do some examples with cassandra-cli and encounter the error further below.&#60;br /&#62;
Is this really a configuration error ?&#60;br /&#62;
If I add key_cache_size_in_mb to the cassandra.yaml file cassandra does not even start.&#60;/p&#62;
&#60;p&#62;I have installed Enterprise 2.1 version.&#60;/p&#62;
&#60;p&#62;Regards&#60;/p&#62;
&#60;p&#62;[default@MyCassandraKS] SET blog_entry['yomama'][timeuuid()] = 'I love my new shoes!';&#60;br /&#62;
ERROR 11:05:06,144 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@7c138c63; 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: 'CassandraCluster'&#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:131)&#60;br /&#62;
        at org.apache.cassandra.utils.FBUtilities.getLocalAddress(FBUtilities.java:143)&#60;br /&#62;
        at org.apache.cassandra.utils.UUIDGen.createTimeUUIDBytes(UUIDGen.java:151)&#60;br /&#62;
        at org.apache.cassandra.utils.UUIDGen.getTimeUUIDBytes(UUIDGen.java:131)&#60;br /&#62;
        at org.apache.cassandra.cli.CliClient.convertValueByFunction(CliClient.java:2600)&#60;br /&#62;
        at org.apache.cassandra.cli.CliClient.convertValueByFunction(CliClient.java:2573)&#60;br /&#62;
        at org.apache.cassandra.cli.CliClient.getColumnName(CliClient.java:2798)&#60;br /&#62;
        at org.apache.cassandra.cli.CliClient.executeSet(CliClient.java:852)&#60;br /&#62;
        at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:218)&#60;br /&#62;
        at org.apache.cassandra.cli.CliMain.processStatementInteractive(CliMain.java:220)&#60;br /&#62;
        at org.apache.cassandra.cli.CliMain.main(CliMain.java:348)&#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@7c138c63; 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;
        ... 16 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;
        ... 18 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@7c138c63; Unable to find property 'key_cache_size_in_mb' on class: org.apache.cassandra.config.Config
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Unable to access the CFS  in analytic mode"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-access-the-cfs-in-analytic-mode#post-9021</link>
			<pubDate>Thu, 14 Feb 2013 18:27:35 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">9021@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Your URIs are wrong.&#60;br /&#62;
The correct URI syntax is:&#60;br /&#62;
[cfs://[host][:port]]/[path]&#60;/p&#62;
&#60;p&#62;The cfs://user/ URI splits into the following components:&#60;/p&#62;
&#60;p&#62;scheme = cfs&#60;br /&#62;
host = user&#60;br /&#62;
path = /&#60;/p&#62;
&#60;p&#62;This is very likely not what you wanted and that's why it has connection problems.&#60;/p&#62;
&#60;p&#62;The following will work:&#60;/p&#62;
&#60;p&#62;dse hadoop fs -ls /user&#60;br /&#62;
dse hadoop fs -ls cfs:///user&#60;br /&#62;
dse hadoop fs -ls cfs://localhost/user&#60;/p&#62;
&#60;p&#62;dse hadoop fs -cat info.csv&#60;br /&#62;
dse hadoop fs -cat cfs:///info.csv&#60;br /&#62;
dse hadoop fs -cat cfs://localhost/info.csv
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dipesh on "Mapping composite column names on Hive"</title>
			<link>http://www.datastax.com/support-forums/topic/mapping-composite-column-names-on-hive#post-9018</link>
			<pubDate>Thu, 14 Feb 2013 11:45:49 +0000</pubDate>
			<dc:creator>dipesh</dc:creator>
			<guid isPermaLink="false">9018@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If possible, can you please share a sample code for serializer and deserializer?&#60;br /&#62;
And/or provide necessary pointers that could help in that regard.&#60;/p&#62;
&#60;p&#62;Here is what I have, but not working.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;package com.cisco.iep.hive.plugins;

import java.io.ByteArrayOutputStream;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;

import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.io.BytesWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;

public class WriteCompositeLongString extends UDF{

	public BytesWritable evaluate(final LongWritable l, final Text s) {

		List&#38;lt;byte[]&#38;gt; b = new ArrayList&#38;lt;byte[]&#38;gt;(2);
		b.add(longWritableToByteArray(l));
		b.add(textToByteArray(s));

		return new BytesWritable(makeComposite(b));
	}

	private byte[] textToByteArray(Text s){
		if(s==null){
			return null;
		}
		return s.getBytes();
	}

	private byte[] longWritableToByteArray(final LongWritable l){
		if(l==null){
			return null;
		}
		return ByteBuffer.allocate(Long.SIZE).putLong(l.get()).array();
	}

	private byte[] makeComposite(final List&#38;lt;byte[]&#38;gt; b) {
		ByteArrayOutputStream bos = new ByteArrayOutputStream();
		for (int i = 0; i &#38;lt; b.size(); i++) {
			bos.write((byte) ((b.get(i).length &#38;gt;&#38;gt; (7 + 1)) &#38;amp; 0xFF));
			bos.write((byte) (b.get(i).length &#38;amp; 0xFF));
			for (int j = 0; j &#38;lt; b.get(i).length; j++) {
				bos.write(b.get(i)[j] &#38;amp; 0xFF);
			}
			bos.write((byte) 0);
		}
		return bos.toByteArray();
	}

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks in advance!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Abhijit on "Unable to access the CFS  in analytic mode"</title>
			<link>http://www.datastax.com/support-forums/topic/unable-to-access-the-cfs-in-analytic-mode#post-8579</link>
			<pubDate>Tue, 22 Jan 2013 13:34:16 +0000</pubDate>
			<dc:creator>Abhijit</dc:creator>
			<guid isPermaLink="false">8579@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi All,&#60;/p&#62;
&#60;p&#62;I am facing errors running DSE 2.1 in analytic mode. It might be a configuration problem. Even i have seen similar sort of issues raised in forum previously &#60;a href=&#34;http://www.datastax.com/support-forums/topic/cfs-is-not-accessable&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/support-forums/topic/cfs-is-not-accessable&#60;/a&#62;, still am unable to resolve the issue.&#60;/p&#62;
&#60;p&#62;Actually when i am using the command :&#60;br /&#62;
      dse hadoop fs -ls cfs://&#60;br /&#62;
      it is giving output as :&#60;br /&#62;
                /tmp&#60;br /&#62;
                /user&#60;br /&#62;
Great. But next time when i am trying to execute :&#60;br /&#62;
      dse hadoop fs -ls cfs://user/&#60;br /&#62;
it is not getting executed, rather showing timeout exception.&#60;/p&#62;
&#60;p&#62;Further using&#60;br /&#62;
      dse hadoop fs -copyFromLocal localpath/info.csv cfs://info.csv&#60;br /&#62;
to copy file from local file system is getting executed successfully. But while trying to execute the following statement&#60;br /&#62;
      dse hadoop fs -cat cfs://info.csv&#60;br /&#62;
its again throwing the same timeout exception&#60;/p&#62;
&#60;p&#62;Simply asking is it possible to store and retrieve files from cfs in DSE similar like HDFS.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>umermk3 on "Can&#039;t start cassandra node"</title>
			<link>http://www.datastax.com/support-forums/topic/cant-start-cassandra-node#post-8317</link>
			<pubDate>Mon, 07 Jan 2013 23:27:20 +0000</pubDate>
			<dc:creator>umermk3</dc:creator>
			<guid isPermaLink="false">8317@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Warning: This will *delete* your old Cassandra data.&#60;/p&#62;
&#60;p&#62;On OSX or Linux, delete the previous Cassandra folder like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$ sudo rm -fr /var/lib/cassandra&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Depending on your permission, you might not need to use &#60;code&#62;sudo&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;It is because the new default partitioner is now Murm3r, instead of RandomPartitioner. That's how it worked for me.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ssach03 on "Pig and Hive queries not working in DSE-2.2.1"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-and-hive-queries-not-working-in-dse-221#post-8253</link>
			<pubDate>Wed, 02 Jan 2013 20:52:20 +0000</pubDate>
			<dc:creator>ssach03</dc:creator>
			<guid isPermaLink="false">8253@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Had the same issue. In my case I increased the memory and that resolved my issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Pig and Hive queries not working in DSE-2.2.1"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-and-hive-queries-not-working-in-dse-221#post-8195</link>
			<pubDate>Fri, 28 Dec 2012 15:37:20 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">8195@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Are there any errors reported in system.log? E.g about failed tasks?&#60;br /&#62;
What is the load on the machines, when the task is &#34;not moving further&#34;?&#60;br /&#62;
Especially, have you given enough memory for your reducers? Can you check with jmap that the dse daemon process has enough free heap space?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
