<?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: schumacr</title>
		<link><a href='http://www.datastax.com/support-forums/profile/schumacr'>schumacr</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 15:20:54 +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>schumacr on "Pig unable to connect to Cassandra that requires authentication"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-unable-to-connect-to-cassandra-that-requires-authentication#post-8314</link>
			<pubDate>Mon, 07 Jan 2013 16:48:41 +0000</pubDate>
			<dc:creator>schumacr</dc:creator>
			<guid isPermaLink="false">8314@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Typically we allow for a 3-4 month time lag between the time a new C* release occurs and when it is integrated into DSE. This allows the new release to bake in the community plus go through our certification program that ensures it's ready for a production setting. For 1.2, I would look for integration in DSE sometime late Q1 or early Q2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cko on "Pig unable to connect to Cassandra that requires authentication"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-unable-to-connect-to-cassandra-that-requires-authentication#post-8306</link>
			<pubDate>Mon, 07 Jan 2013 00:39:52 +0000</pubDate>
			<dc:creator>cko</dc:creator>
			<guid isPermaLink="false">8306@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;In &#60;a href=&#34;https://issues.apache.org/jira/browse/CASSANDRA-3042&#34; rel=&#34;nofollow&#34;&#62;https://issues.apache.org/jira/browse/CASSANDRA-3042&#60;/a&#62;, authentication support has already been added to the Pig Load funciton CassandraStorage in Cassandra 1.2.0.&#60;/p&#62;
&#60;p&#62;Currently DSE 2.2.1 includes Cassandra 1.1.6. Is there a schedule when DSE will include Cassandra 1.2.0?&#60;/p&#62;
&#60;p&#62;Is there any plan to add Pig Cassandra authentication support to DSE when it includes Cassandra 1.2.0?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Pig unable to connect to Cassandra that requires authentication"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-unable-to-connect-to-cassandra-that-requires-authentication#post-8167</link>
			<pubDate>Thu, 27 Dec 2012 21:57:51 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">8167@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;SimpleAuthenticator and SimpleAuthority are not currently supported by the DSE components. We are investigating the possibility of adding support for enhanced security in a future release of DSE.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cko on "Pig unable to connect to Cassandra that requires authentication"</title>
			<link>http://www.datastax.com/support-forums/topic/pig-unable-to-connect-to-cassandra-that-requires-authentication#post-8152</link>
			<pubDate>Thu, 27 Dec 2012 06:35:26 +0000</pubDate>
			<dc:creator>cko</dc:creator>
			<guid isPermaLink="false">8152@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am trying Cassandra authentication using the sample SimpleAuthenticator and SimpleAuthority classes and also trying securing the Cassandra JMX port. Ops Center can successfully connect to and monitor a Cassandra cluster with the authentication enabled. &#60;/p&#62;
&#60;p&#62;However there are problems running Pig against a Cassandra cluster with authentication enabled. &#60;/p&#62;
&#60;p&#62;Looking at the Pig stack trace, we found that the SimpleAuthenticator was throwing an exception during initialisation, so we added the required JVM -D system properties to both scripts $DSE_HOME/bin/dsetool and $DSE_HOME/resources/pig/bin/pig.&#60;/p&#62;
&#60;p&#62;JVM_OPTS=&#34;$JVM_OPTS -Dpasswd.properties=$CASSANDRA_HOME/conf/passwd.properties&#34;&#60;br /&#62;
JVM_OPTS=&#34;$JVM_OPTS -Daccess.properties=$CASSANDRA_HOME/conf/access.properties&#34;&#60;br /&#62;
JVM_OPTS=&#34;$JVM_OPTS -Dpasswd.mode=MD5&#34;&#60;/p&#62;
&#60;p&#62;That takes us further, but then it appears that the CFS custom storage handler received an exception from Cassandra when it tries to connect to the Cassandra database without supplying credentials.&#60;/p&#62;
&#60;p&#62;Error before Pig is launched&#60;br /&#62;
----------------------------&#60;br /&#62;
ERROR 2999: Unexpected internal error. Failed to create DataStorage&#60;/p&#62;
&#60;p&#62;java.lang.RuntimeException: Failed to create DataStorage&#60;br /&#62;
        at org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStorage.java:75)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.datastorage.HDataStorage.&#38;lt;init&#38;gt;(HDataStorage.java:58)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:206)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:119)&#60;br /&#62;
        at org.apache.pig.impl.PigContext.connect(PigContext.java:185)&#60;br /&#62;
        at org.apache.pig.PigServer.&#38;lt;init&#38;gt;(PigServer.java:244)&#60;br /&#62;
        at org.apache.pig.PigServer.&#38;lt;init&#38;gt;(PigServer.java:229)&#60;br /&#62;
        at org.apache.pig.tools.grunt.Grunt.&#38;lt;init&#38;gt;(Grunt.java:47)&#60;br /&#62;
        at org.apache.pig.Main.run(Main.java:492)&#60;br /&#62;
        at org.apache.pig.Main.main(Main.java:111)&#60;br /&#62;
Caused by: java.io.IOException: InvalidRequestException(why:You have not logged in)&#60;br /&#62;
        at com.datastax.bdp.util.CassandraProxyClient.initialize(CassandraProxyClient.java:227)&#60;br /&#62;
        at com.datastax.bdp.util.CassandraProxyClient.&#38;lt;init&#38;gt;(CassandraProxyClient.java:180)&#60;br /&#62;
        at com.datastax.bdp.util.CassandraProxyClient.newProxyConnection(CassandraProxyClient.java:119)&#60;br /&#62;
        at com.datastax.bdp.hadoop.cfs.CassandraFileSystemThriftStore.initialize(CassandraFileSystemThriftStore.java:195)&#60;br /&#62;
        at com.datastax.bdp.hadoop.cfs.CassandraFileSystem.initialize(CassandraFileSystem.java:67)&#60;br /&#62;
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)&#60;br /&#62;
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)&#60;br /&#62;
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)&#60;br /&#62;
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)&#60;br /&#62;
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)&#60;br /&#62;
        at org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStorage.java:72)&#60;br /&#62;
        ... 9 more&#60;br /&#62;
Caused by: InvalidRequestException(why:You have not logged in)&#60;br /&#62;
        at org.apache.cassandra.thrift.Cassandra$describe_keyspaces_result.read(Cassandra.java:22379)&#60;br /&#62;
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)&#60;br /&#62;
        at org.apache.cassandra.thrift.Cassandra$Client.recv_describe_keyspaces(Cassandra.java:1004)&#60;br /&#62;
        at org.apache.cassandra.thrift.Cassandra$Client.describe_keyspaces(Cassandra.java:992)&#60;br /&#62;
        at com.datastax.bdp.util.CassandraProxyClient.initialize(CassandraProxyClient.java:213)&#60;br /&#62;
        ... 19 more&#60;/p&#62;
&#60;p&#62;I could not find anything in Datastax documentation on how to supply credentials in Pig to connect to Cassandra. Does the current Cassandra storage handler support connecting to a secured Cassandra database? We are using DSE 2.2.1.&#60;/p&#62;
&#60;p&#62;Thanks in advance.&#60;/p&#62;
&#60;p&#62;Chin
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
