<?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: using cassandra with cdh hadoop</title>
		<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 18:24:14 +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/using-cassandra-with-cdh-hadoop" rel="self" type="application/rss+xml" />

		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-463</link>
			<pubDate>Mon, 22 Aug 2011 15:01:24 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">463@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;i believe it is a thrift version issue. hive 0.7 that ships with cdh3u1 relies on thrift 0.5, while cassandra uses thrift 0.6. since they are not compatible (i think?) i cannot just replace thrift 0.5 with version 0.6, so i am stuck.&#60;/p&#62;
&#60;p&#62;i did try to swap both thrift and fb303, which resulted in:&#60;br /&#62;
java.lang.NoClassDefFoundError: com/facebook/fb303/FacebookService$Iface
&#60;/p&#62;</description>
		</item>
		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-461</link>
			<pubDate>Fri, 19 Aug 2011 17:37:27 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">461@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;i replaced file:///usr/lib/hive/lib/hive-cassandra-handler-0.7.0-beta1.jar with file://usr/share/brisk/hive/lib/hive-cassandra-handler-0.7.0-brisk1-beta2.jar&#60;/p&#62;
&#60;p&#62;What i am worried about is that this version of the CassandraStorageHandler will try to use the cassandra metastore for hive, instead of the mysql metastore that we use...&#60;/p&#62;
&#60;p&#62;Results:&#60;br /&#62;
hive&#38;gt; set hive.aux.jars.path;&#60;br /&#62;
hive.aux.jars.path=file:///usr/share/brisk/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar,file:///usr/share/brisk/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar,file:///usr/share/brisk/hive/lib/hive-cassandra-handler-0.7.0-brisk1-beta2.jar&#60;br /&#62;
hive&#38;gt; create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;);&#60;br /&#62;
11/08/19 13:32:03 DEBUG parse.VariableSubstitution: Substitution is on: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 13:32:03 INFO parse.ParseDriver: Parsing command: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 13:32:03 INFO parse.ParseDriver: Parse Completed&#60;br /&#62;
11/08/19 13:32:03 INFO parse.SemanticAnalyzer: Starting Semantic Analysis&#60;br /&#62;
11/08/19 13:32:03 INFO parse.SemanticAnalyzer: Creating table cass_test position=22&#60;br /&#62;
11/08/19 13:32:03 INFO ql.Driver: Semantic Analysis Completed&#60;br /&#62;
11/08/19 13:32:03 INFO ql.Driver: Returning Hive schema: Schema(fieldSchemas:null, properties:null)&#60;br /&#62;
11/08/19 13:32:03 INFO ql.Driver: Starting command: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 13:32:03 INFO exec.DDLTask: Use StorageHandler-supplied org.apache.hadoop.hive.cassandra.serde.StandardColumnSerDe for table cass_test&#60;br /&#62;
11/08/19 13:32:03 INFO hive.log: DDL: struct cass_test { string row_key, string col1, string col2}&#60;br /&#62;
11/08/19 13:32:03 DEBUG serde.StandardColumnSerDe: table column string: row_key,col1,col2&#60;br /&#62;
11/08/19 13:32:03 DEBUG serde.StandardColumnSerDe: Auto-created mapping string: :key,col1,col2&#60;br /&#62;
11/08/19 13:32:03 DEBUG serde.StandardColumnSerDe: CassandraSerDe initialized with : columnNames = row_key,col1,col2 columnTypes = string,string,string cassandraColumnMapping = [:key, col1, col2]&#60;br /&#62;
11/08/19 13:32:03 INFO metastore.HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.cache.level2.type value null from  jpox.properties with SOFT&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.plugin.pluginRegistryBundleCheck value null from  jpox.properties with LOG&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.option.ConnectionURL value null from  jpox.properties with jdbc:mysql://node01/metastore&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.autoStartMechanismMode value null from  jpox.properties with checked&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.validateConstraints value null from  jpox.properties with false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.autoCreateSchema value null from  jpox.properties with false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.cache.level2 value null from  jpox.properties with false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.option.ConnectionUserName value null from  jpox.properties with hive&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.option.DetachAllOnCommit value null from  jpox.properties with true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.connectionPoolingType value null from  jpox.properties with DBCP&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.fixedDatastore value null from  jpox.properties with true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.storeManagerType value null from  jpox.properties with rdbms&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.option.ConnectionDriverName value null from  jpox.properties with com.mysql.jdbc.Driver&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.transactionIsolation value null from  jpox.properties with read-committed&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.validateColumns value null from  jpox.properties with false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.option.NonTransactionalRead value null from  jpox.properties with true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.validateTables value null from  jpox.properties with false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding javax.jdo.PersistenceManagerFactoryClass value null from  jpox.properties with org.datanucleus.jdo.JDOPersistenceManagerFactory&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: Overriding datanucleus.identifierFactory value null from  jpox.properties with datanucleus&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.autoStartMechanismMode = checked&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.identifierFactory = datanucleus&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.transactionIsolation = read-committed&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.validateTables = false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.option.ConnectionURL = jdbc:mysql://node01/metastore&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.option.DetachAllOnCommit = true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.option.NonTransactionalRead = true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.fixedDatastore = true&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.validateConstraints = false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.option.ConnectionDriverName = com.mysql.jdbc.Driver&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.option.ConnectionUserName = hive&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.validateColumns = false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.cache.level2 = false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.plugin.pluginRegistryBundleCheck = LOG&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.cache.level2.type = SOFT&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: javax.jdo.PersistenceManagerFactoryClass = org.datanucleus.jdo.JDOPersistenceManagerFactory&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.autoCreateSchema = false&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.storeManagerType = rdbms&#60;br /&#62;
11/08/19 13:32:03 DEBUG metastore.ObjectStore: datanucleus.connectionPoolingType = DBCP&#60;br /&#62;
11/08/19 13:32:03 INFO metastore.ObjectStore: ObjectStore, initialize called&#60;br /&#62;
11/08/19 13:32:04 ERROR DataNucleus.Plugin: Bundle &#34;org.eclipse.jdt.core&#34; requires &#34;org.eclipse.core.resources&#34; but it cannot be resolved.&#60;br /&#62;
11/08/19 13:32:04 ERROR DataNucleus.Plugin: Bundle &#34;org.eclipse.jdt.core&#34; requires &#34;org.eclipse.core.runtime&#34; but it cannot be resolved.&#60;br /&#62;
11/08/19 13:32:04 ERROR DataNucleus.Plugin: Bundle &#34;org.eclipse.jdt.core&#34; requires &#34;org.eclipse.text&#34; but it cannot be resolved.&#60;br /&#62;
11/08/19 13:32:04 INFO metastore.ObjectStore: Setting MetaStore object pin classes with hive.metastore.cache.pinobjtypes=&#34;Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order&#34;&#60;br /&#62;
11/08/19 13:32:04 INFO metastore.ObjectStore: Initialized ObjectStore&#60;br /&#62;
11/08/19 13:32:05 DEBUG cassandra.CassandraProxyClient: Connected to cassandra at 192.168.1.51:9160&#60;br /&#62;
java.lang.NoSuchMethodError: org.apache.thrift.meta_data.FieldValueMetaData.&#38;lt;init&#38;gt;(BZ)V&#60;br /&#62;
	at org.apache.cassandra.thrift.CfDef.&#38;lt;clinit&#38;gt;(CfDef.java:299)&#60;br /&#62;
	at org.apache.cassandra.thrift.KsDef.read(KsDef.java:753)&#60;br /&#62;
	at org.apache.cassandra.thrift.Cassandra$describe_keyspaces_result.read(Cassandra.java:20970)&#60;br /&#62;
	at org.apache.cassandra.thrift.Cassandra$Client.recv_describe_keyspaces(Cassandra.java:1153)&#60;br /&#62;
	at org.apache.cassandra.thrift.Cassandra$Client.describe_keyspaces(Cassandra.java:1129)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraProxyClient.initializeConnection(CassandraProxyClient.java:165)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraProxyClient.&#38;lt;init&#38;gt;(CassandraProxyClient.java:103)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraManager.openConnection(CassandraManager.java:88)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraStorageHandler.preCreateTable(CassandraStorageHandler.java:143)&#60;br /&#62;
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:344)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:470)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3146)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:213)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:130)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1063)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:900)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:748)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:209)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:286)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:513)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#60;br /&#62;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#60;br /&#62;
	at java.lang.reflect.Method.invoke(Method.java:597)&#60;br /&#62;
	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)&#60;br /&#62;
FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.DDLTask&#60;br /&#62;
11/08/19 13:32:05 ERROR ql.Driver: FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.DDLTask&#60;br /&#62;
hive&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-460</link>
			<pubDate>Fri, 19 Aug 2011 15:22:46 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">460@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;another try with different jars got me farther:&#60;/p&#62;
&#60;p&#62;hive&#38;gt; set hive.aux.jars.path;&#60;br /&#62;
hive.aux.jars.path=file:///usr/share/brisk/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar,file:///usr/share/brisk/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar,file:///usr/share/java/hive-cassandra-handler-0.7.0-beta1.jar&#60;br /&#62;
hive&#38;gt; create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;);&#60;br /&#62;
11/08/19 11:20:26 DEBUG parse.VariableSubstitution: Substitution is on: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 11:20:26 INFO parse.ParseDriver: Parsing command: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 11:20:26 INFO parse.ParseDriver: Parse Completed&#60;br /&#62;
11/08/19 11:20:26 INFO parse.SemanticAnalyzer: Starting Semantic Analysis&#60;br /&#62;
11/08/19 11:20:26 INFO parse.SemanticAnalyzer: Creating table cass_test position=22&#60;br /&#62;
11/08/19 11:20:26 INFO ql.Driver: Semantic Analysis Completed&#60;br /&#62;
11/08/19 11:20:26 INFO ql.Driver: Returning Hive schema: Schema(fieldSchemas:null, properties:null)&#60;br /&#62;
11/08/19 11:20:26 INFO ql.Driver: Starting command: create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' with SERDEPROPERTIES(&#34;cassandra.host&#34;=&#34;192.168.1.51&#34;,&#34;cassandra.port&#34;=&#34;9160&#34;,&#34;cassandra.ks.name&#34;=&#34;test&#34;,&#34;cassandra.ks.repfactor&#34;=&#34;2&#34;)&#60;br /&#62;
11/08/19 11:20:26 INFO exec.DDLTask: Use StorageHandler-supplied org.apache.hadoop.hive.cassandra.serde.StandardColumnSerDe for table cass_test&#60;br /&#62;
11/08/19 11:20:26 INFO hive.log: DDL: struct cass_test { string row_key, string col1, string col2}&#60;br /&#62;
11/08/19 11:20:26 DEBUG serde.StandardColumnSerDe: CassandraSerDe initialized with : columnNames = row_key,col1,col2 columnTypes = string,string,string cassandraColumnMapping = [:key, col1, col2]&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraManager: open connection to host:port - 192.168.1.51:9160&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraProxyClient: Use randomized connection for 192.168.1.51:9160&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraProxyClient: socke is opened: false trans is opened: false&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraClientHolder: Transport is open true&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraProxyClient: Connected to cassandra at 192.168.1.51:9160&#60;br /&#62;
11/08/19 11:20:26 DEBUG cassandra.CassandraManager: close connection to host:port - 192.168.1.51:9160&#60;br /&#62;
FAILED: Error in metadata: java.lang.NullPointerException&#60;br /&#62;
11/08/19 11:20:26 ERROR exec.DDLTask: FAILED: Error in metadata: java.lang.NullPointerException&#60;br /&#62;
org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:476)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3146)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:213)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:130)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1063)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:900)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:748)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:209)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:286)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:513)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#60;br /&#62;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#60;br /&#62;
	at java.lang.reflect.Method.invoke(Method.java:597)&#60;br /&#62;
	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)&#60;br /&#62;
Caused by: java.lang.NullPointerException&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraManager.closeConnection(CassandraManager.java:110)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraStorageHandler.preCreateTable(CassandraStorageHandler.java:146)&#60;br /&#62;
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:344)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:470)&#60;br /&#62;
	... 15 more&#60;/p&#62;
&#60;p&#62;11/08/19 11:20:26 DEBUG exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:476)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3146)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:213)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:130)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1063)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:900)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:748)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:209)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:286)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:513)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#60;br /&#62;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#60;br /&#62;
	at java.lang.reflect.Method.invoke(Method.java:597)&#60;br /&#62;
	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)&#60;br /&#62;
Caused by: java.lang.NullPointerException&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraManager.closeConnection(CassandraManager.java:110)&#60;br /&#62;
	at org.apache.hadoop.hive.cassandra.CassandraStorageHandler.preCreateTable(CassandraStorageHandler.java:146)&#60;br /&#62;
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:344)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:470)&#60;br /&#62;
	... 15 more&#60;/p&#62;
&#60;p&#62;FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask&#60;br /&#62;
11/08/19 11:20:26 ERROR ql.Driver: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask&#60;br /&#62;
hive&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-459</link>
			<pubDate>Fri, 19 Aug 2011 14:55:56 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">459@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Try replacing file:///usr/lib/hive/lib/hive-cassandra-handler-0.7.0-beta1.jar with the jar from usr/share/brisk/hive/lib
&#60;/p&#62;</description>
		</item>
		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-458</link>
			<pubDate>Fri, 19 Aug 2011 14:47:54 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">458@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;i tried the following:&#60;br /&#62;
hive&#38;gt; set hive.aux.jars.path;&#60;br /&#62;
hive.aux.jars.path=file:///usr/lib/hive/lib/hive-hbase-handler-0.7.1-cdh3u1.jar,file:///usr/lib/hbase/hbase-0.90.3-cdh3u1.jar,file:///usr/share/brisk/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar,file:///usr/lib/hive/lib/hive-cassandra-handler-0.7.0-beta1.jar,file:///usr/share/brisk/cassandra/lib/guava-r08.jar,file:///usr/share/brisk/cassandra/lib/commons-lang-2.4.jar,file:///usr/share/brisk/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar&#60;/p&#62;
&#60;p&#62;hive&#38;gt; create external table cass_test(row_key string, col1 string, col2 string) stored by 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler';&#60;br /&#62;
java.lang.NoClassDefFoundError: org/apache/cassandra/thrift/NotFoundException&#60;br /&#62;
	at java.lang.Class.forName0(Native Method)&#60;br /&#62;
	at java.lang.Class.forName(Class.java:247)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.HiveUtils.getStorageHandler(HiveUtils.java:144)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.metadata.Table.getStorageHandler(Table.java:268)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3027)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:213)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:130)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1063)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:900)&#60;br /&#62;
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:748)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:209)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:286)&#60;br /&#62;
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:513)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#60;br /&#62;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#60;br /&#62;
	at java.lang.reflect.Method.invoke(Method.java:597)&#60;br /&#62;
	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)&#60;br /&#62;
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.thrift.NotFoundException&#60;br /&#62;
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)&#60;br /&#62;
	at java.security.AccessController.doPrivileged(Native Method)&#60;br /&#62;
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&#60;br /&#62;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#60;br /&#62;
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&#60;br /&#62;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&#60;br /&#62;
	... 19 more&#60;br /&#62;
FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.DDLTask
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-457</link>
			<pubDate>Fri, 19 Aug 2011 14:23:23 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">457@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It should still work just modify the classpath to use the hive driver and cassandra that you have from beta2
&#60;/p&#62;</description>
		</item>
		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-456</link>
			<pubDate>Fri, 19 Aug 2011 14:19:51 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">456@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;thanks for that. it makes sense. however i am not running cassandra 7 but the cassandra that came with the latest brisk (apache-cassandra-0.8.1-brisk1-beta2.jar). does this mean i am out of luck?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-454</link>
			<pubDate>Fri, 19 Aug 2011 02:44:28 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">454@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Yes you can.  Take a look at &#60;a href=&#34;https://github.com/riptano/hive/wiki/Cassandra-Handler-usage-in-Hive-0.7-with-Cassandra-0.7&#34; rel=&#34;nofollow&#34;&#62;https://github.com/riptano/hive/wiki/Cassandra-Handler-usage-in-Hive-0.7-with-Cassandra-0.7&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>koert on "using cassandra with cdh hadoop"</title>
			<link>http://www.datastax.com/support-forums/topic/using-cassandra-with-cdh-hadoop#post-453</link>
			<pubDate>Fri, 19 Aug 2011 00:47:30 +0000</pubDate>
			<dc:creator>koert</dc:creator>
			<guid isPermaLink="false">453@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;for some projects brisk is not an option and i use cloudera's cdh distro. however i would still like to use cassandra. is there an easy way to get cassandra connected to my hive in cdh? is the CassandraStorageHandler somehow available as a separate project that i can compile and add to my hive?&#60;br /&#62;
thanks! koert
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
