CREATE EXTERNAL TABLE cassandra_table (key string, colname string, value string) STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' WITH SERDEPROPERTIES("cassandra.columns.mapping" = ":key,:column,:value" , "cassandra.cf.name" = "User" , "cassandra.host" = "192.168.136.103" , "cassandra.port" = "9160", "cassandra.partitioner" = "org.apache.cassandra.dht.RandomPartitioner" ) TBLPROPERTIES ("cassandra.ks.name" = "MyKeyspace");