hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "madheswaran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10680) Hive Cassandra throws org.apache.cassandra.exceptions.ConfigurationException: Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
Date Tue, 12 May 2015 05:38:02 GMT
madheswaran created HIVE-10680:
----------------------------------

             Summary: Hive Cassandra throws  org.apache.cassandra.exceptions.ConfigurationException:
Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
                 Key: HIVE-10680
                 URL: https://issues.apache.org/jira/browse/HIVE-10680
             Project: Hive
          Issue Type: Bug
            Reporter: madheswaran


I am successfully able create keyspace and table in Cassandra using Hive. 
Select operation fails and throws error:
 
15/05/12 09:33:36 [main]: INFO ql.Driver: OK
15/05/12 09:33:36 [main]: INFO log.PerfLogger: <PERFLOG method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
15/05/12 09:33:36 [main]: INFO log.PerfLogger: </PERFLOG method=releaseLocks start=1431408816048
end=1431408816049 duration=1 from=org.apache.hadoop.hive.ql.Driver>
15/05/12 09:33:36 [main]: INFO log.PerfLogger: </PERFLOG method=Driver.run start=1431408814335
end=1431408816049 duration=1714 from=org.apache.hadoop.hive.ql.Driver>
15/05/12 09:33:36 [main]: INFO Configuration.deprecation: mapred.input.dir is deprecated.
Instead, use mapreduce.input.fileinputformat.inputdir
15/05/12 09:33:36 [main]: INFO hadoop2.AbstractColumnFamilyInputFormat: --------------------
Getting input splits --------------------
Failed with exception java.io.IOException:java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException:
Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
15/05/12 09:33:36 [main]: ERROR CliDriver: Failed with exception java.io.IOException:java.lang.RuntimeException:
org.apache.cassandra.exceptions.ConfigurationException: Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
java.io.IOException: java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException:
Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
        at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:507)
        at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:414)
        at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:138)
        at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1655)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:227)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:159)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:370)
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:754)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException:
Unable to find partitioner class 'org.apache.cassandra.dht.RandomPartitioner'
        at org.apache.cassandra.hadoop2.ConfigHelper.getInputPartitioner(ConfigHelper.java:401)
        at org.apache.cassandra.hadoop2.AbstractColumnFamilyInputFormat.validateConfiguration(AbstractColumnFamilyInputFormat.java:87)
        at org.apache.cassandra.hadoop2.AbstractColumnFamilyInputFormat.getSplits(AbstractColumnFamilyInputFormat.java:117)
        at org.apache.hadoop.hive.cassandra.input.cql.HiveCqlInputFormat.getSplits(HiveCqlInputFormat.java:192)
        at org.apache.hadoop.hive.cassandra.input.cql.HiveCqlInputFormat.getSplits(HiveCqlInputFormat.java:149)
        at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextSplits(FetchOperator.java:362)
        at org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:294)
        at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:445)
        ... 15 more
Caused by: org.apache.cassandra.exceptions.ConfigurationException: Unable to find partitioner
class 'org.apache.cassandra.dht.RandomPartitioner'
        at org.apache.cassandra.utils.FBUtilities.classForName(FBUtilities.java:462)
        at org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:474)
        at org.apache.cassandra.utils.FBUtilities.newPartitioner(FBUtilities.java:420)
        at org.apache.cassandra.hadoop2.ConfigHelper.getInputPartitioner(ConfigHelper.java:399)
        ... 22 more
Caused by: java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
        at org.apache.cassandra.utils.ObjectSizes.<clinit>(ObjectSizes.java:34)
        at org.apache.cassandra.dht.RandomPartitioner.<clinit>(RandomPartitioner.java:45)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:190)
        at org.apache.cassandra.utils.FBUtilities.classForName(FBUtilities.java:454)
        ... 25 more
Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 30 more

15/05/12 09:33:36 [main]: INFO exec.TableScanOperator: 0 finished. closing...




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message