You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Konrad Kurdej (JIRA)" <ji...@apache.org> on 2013/07/19 16:02:49 UTC
[jira] [Comment Edited] (CASSANDRA-5234) Table created through CQL3
are not accessble to Pig 0.10
[ https://issues.apache.org/jira/browse/CASSANDRA-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713680#comment-13713680 ]
Konrad Kurdej edited comment on CASSANDRA-5234 at 7/19/13 2:00 PM:
-------------------------------------------------------------------
I was trying it locally and I'm not sure whether it fully works. My stacktrace and cassandra table schema is here: http://pastebin.com/uPUAs9T2 (i tried using old cassandra:// ... - it worked for other table) and output when I used cql://.. is here: http://pastebin.com/b0bKd7G3 . I have worked on this with Pig in local mode. It might be important or not: this table contained counters.
I was working on cassandra-1.2 with latest commit 27efded38d855b24f41e5332ffb29cd13d98f8da
was (Author: kkonrad):
I was trying it locally and I'm not sure whether it fully works. My stacktrace and cassandra table schema is here: http://pastebin.com/uPUAs9T2 (i tried using old cassandra:// ... - it worked for other table) and output when I used cql://.. is here: http://pastebin.com/b0bKd7G3 . I have worked on this with pig in local mode. It might be important or not: this table contained counters.
I was working on cassandra-1.2 with latest commit 27efded38d855b24f41e5332ffb29cd13d98f8da
> Table created through CQL3 are not accessble to Pig 0.10
> --------------------------------------------------------
>
> Key: CASSANDRA-5234
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5234
> Project: Cassandra
> Issue Type: Bug
> Components: Hadoop
> Affects Versions: 1.2.1
> Environment: Red hat linux 5
> Reporter: Shamim Ahmed
> Assignee: Alex Liu
> Fix For: 1.2.7
>
> Attachments: 5234-1-1.2-patch.txt, 5234-1.2-patch.txt, 5234-2-1.2branch.txt, 5234-3-1.2branch.txt, 5234-3-trunk.txt, 5234.tx, fix_where_clause.patch
>
>
> Hi,
> i have faced a bug when creating table through CQL3 and trying to load data through pig 0.10 as follows:
> java.lang.RuntimeException: Column family 'abc' not found in keyspace 'XYZ'
> at org.apache.cassandra.hadoop.pig.CassandraStorage.initSchema(CassandraStorage.java:1112)
> at org.apache.cassandra.hadoop.pig.CassandraStorage.setLocation(CassandraStorage.java:615).
> This effects from Simple table to table with compound key.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira