cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shridhar (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-6454) Pig support for hadoop CqlInputFormat
Date Fri, 16 May 2014 12:11:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999765#comment-13999765
] 

Shridhar edited comment on CASSANDRA-6454 at 5/16/14 12:10 PM:
---------------------------------------------------------------

[~alexliu68] I  tried to run pig script to load data with CqlNativeStorage but getting problems,
looks like jar conflicts or may be something else can you please let me know the required
jars and their version needed to run CqlNativeStorage . Below are the things i tried.
1.Applied this patch on top of Cassandra 2.0.07. 
2.When i tried to run pig script with CqlNativeStorage it threw me "ERROR org.apache.pig.tools.grunt.Grunt
- ERROR 2998: Unhandled internal error. com/datastax/driver/core/policies/LoadBalancingPolicy"
exception. 
3.Then  added "cassandra-driver-core-2.0.1.jar" in my classpath after this i got an exception
"ERROR org.apache.pig.tools.pigstats.SimplePigStats - ERROR: com.codahale.metrics.Metric .......
....
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Metric" 
4.Then  added "metrics-core-3.0.2.jar". After adding this jar file i was able to run the job
but failed and my hadoop log shows me this exception
NOTE: metrics-core-2.2.0.jar already exists in C* 2.0.7 lib folder.
"Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried
for query failed (tried: slave1.tpgsi.com/xxxx.yyy.zzz.aa (com.datastax.driver.core.TransportException:
[slave1/xxxx.yyy.zzz.aa] Error writing))


was (Author: shridharb):
[~alexliu68] I  tried to run pig script to load data with CqlNativeStorage but getting problems,
looks like jar conflicts or may be something else can you please let me know the required
jars and their version needed to run CqlNativeStorage . Below are the things i tried.
1.Applied this patch on top of Cassandra 2.0.07. 
2.When i tried to run pig script with CqlNativeStorage it threw me "ERROR org.apache.pig.tools.grunt.Grunt
- ERROR 2998: Unhandled internal error. com/datastax/driver/core/policies/LoadBalancingPolicy"
exception. 
3.Then  added "cassandra-driver-core-2.0.1.jar" in my classpath after this i got an exception
"ERROR org.apache.pig.tools.pigstats.SimplePigStats - ERROR: com.codahale.metrics.Metric"

4.Then  added "metrics-core-3.0.2.jar". After adding this jar file i was able to run the job
but failed and my hadoop log shows me this exception
NOTE: metrics-core-2.2.0.jar already exists in C* 2.0.7 lib folder.
"Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried
for query failed (tried: slave1.tpgsi.com/xxxx.yyy.zzz.aa (com.datastax.driver.core.TransportException:
[slave1/xxxx.yyy.zzz.aa] Error writing))

> Pig support for hadoop CqlInputFormat
> -------------------------------------
>
>                 Key: CASSANDRA-6454
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6454
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>             Fix For: 2.0.9
>
>         Attachments: 6454-2.0-branch.txt
>
>
> CASSANDRA-6311 adds new CqlInputFormat, we need add the Pig support for it



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message