Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D4DA10CCE for ; Mon, 17 Jun 2013 13:55:31 +0000 (UTC) Received: (qmail 21259 invoked by uid 500); 17 Jun 2013 13:55:31 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21047 invoked by uid 500); 17 Jun 2013 13:55:30 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 18335 invoked by uid 99); 17 Jun 2013 13:55:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 13:55:25 +0000 Date: Mon, 17 Jun 2013 13:55:25 +0000 (UTC) From: "Cyril Scetbon (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-5234) Table created through CQL3 are not accessble to Pig 0.10 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685565#comment-13685565 ] Cyril Scetbon edited comment on CASSANDRA-5234 at 6/17/13 1:54 PM: ------------------------------------------------------------------- My Pig script doesn't work anymore. I suppose you changed the input format ? I get : Projected field [filtre] does not exist in schema: key:chararray,columns:bag{:tuple(name:tuple(),value:byte array)} when column family is created without COMPACT STORAGE Something weird is that I get no values when I should get some : cqlsh:k1> SELECT * FROM cf1 WHERE ISE='XXXX'; ise | filtre | value_1 ------+--------+--------- XXXX | 1 | 81056 2013-06-17 13:13:01,372 [main] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1 (XXXX,{((),),((filtre),),((value_1), SELECT * FROM cf1 WHERE ISE='XXXX'; ise | filtre | value_1 ------+--------+--------- XXXX | 1 | 81056 2013-06-17 13:13:01,372 [main] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1 (XXXX,{((),),((filtre),),((value_1), 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 > Fix For: 1.2.6 > > Attachments: 5234-1.2-patch.txt, 5234.tx > > > 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