Error :AssertionError = firstTokenIndex(TokenMetadata.java:845)

2014-07-22 Thread Miguel Angel Martin junquera
hi all, I trying add a node to a cassandra ring with only one seed-node. I have the seed in EC2 and I have this error when I start cassandra in the other node ERROR [Thrift:389] 2014-07-22 08:25:39,838 CassandraDaemon.java (line 191) Exception in thread Thread[Thrift:389,5,main]

Re: Issue with cassandra-pig-thrift.transport and java.net.SocketException: Connection reset

2014-03-04 Thread Miguel Angel Martin junquera
:29 GMT+01:00 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com: HI all, I trying to do a cogroup with five relations that I load from cassandra previously. In single node and local casandra testing environment the script works fine but when I try to execute in a cluster over AWS

Issue with cassandra-pig-thrift.transport and java.net.SocketException: Connection reset

2014-02-27 Thread Miguel Angel Martin junquera
HI all, I trying to do a cogroup with five relations that I load from cassandra previously. In single node and local casandra testing environment the script works fine but when I try to execute in a cluster over AWS instances with only one slave in hadoop cluster and One seed cassandra node I

Re: Issue with cassandra-pig-thrift.transport and java.net.SocketException: Connection reset

2014-02-27 Thread Miguel Angel Martin junquera
I forgot I am using cassandra 2.04 , hadoop 1.2.1 and pig 0.12 Thanks 2014-02-27 17:29 GMT+01:00 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com: HI all, I trying to do a cogroup with five relations that I load from cassandra previously. In single node and local casandra

What are the Pros and Cons to upgrade Cassandra from 1.2.10 to 2.0.X ?

2014-01-09 Thread Miguel Angel Martin junquera
Hi all: We have a Cassandra 1.2.10 pre-production ring integrated with Hadoop and Pig and we are thinking to upgrade the system from 1.2.10 to 2.0.X ( to 2.0.4 for example) before we pass to production. What are the Pros and Cons According to your experience? Many thanks and Regards

Re: setting PIG_INPUT_INITIAL_ADDRESS environment . variable in Oozie for cassandra ...¿?

2013-12-12 Thread Miguel Angel Martin junquera
://www.thelastpickle.com On 11/12/2013, at 4:00 am, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com wrote: Hi, I have an error with pig action in oozie 4.0.0 using cassandraStorage. (cassandra 1.2.10) I can run pig scripts right with cassandra. but whe I try to use

setting PIG_INPUT_INITIAL_ADDRESS environment . variable in Oozie for cassandra ...¿?

2013-12-10 Thread Miguel Angel Martin junquera
Hi, I have an error with pig action in oozie 4.0.0 using cassandraStorage. (cassandra 1.2.10) I can run pig scripts right with cassandra. but whe I try to use cassandraStorage to load data I have this error: *Run pig script using PigRunner.run() for Pig version 0.8+* *Apache Pig version

Pig-cassandra Scritps and Oozie

2013-11-28 Thread Miguel Angel Martin junquera
hi all; What is the best way to integrate cassandra pig-extension with oozie? can be configure oozie to use pig-cassandra instead of pig? Some ideas that I thinking are: Launching a Shell jobthat runs ./pig-cassandra script.pig or changing environment variables vakues or the original

Re: Pig-cassandra Scritps and Oozie

2013-11-28 Thread Miguel Angel Martin junquera
you’re experiencing that you are unable to do this? Jeremy On 28 Nov 2013, at 12:56, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com wrote: hi all; What is the best way to integrate cassandra pig-extension with oozie? can be configure oozie to use pig-cassandra

Re: temporal solution to CASSANDRA-5543: BUILD FAILED at gen-cql2-grammar target

2013-09-30 Thread Miguel Angel Martin junquera
in the antlr compilation, check the antlr versions. Cheers - Aaron Morton New Zealand @aaronmorton Co-Founder Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 27/09/2013, at 11:53 PM, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com

Undefined name key_alias in selection clause pig 0.11.1 and cassandra 2.0.1

2013-09-30 Thread Miguel Angel Martin junquera
hi: I try to test cassandra 2.0.1 and pig 0.11.1 but always when i try to load any keyspacei have this error: Example creating a test keyspace and data: I have this error: *grunt define CqlStorage org.apache.cassandra.hadoop.pig.CqlStorage();* *grunt rows = LOAD 'cql://keyspace0/test'

Re: Undefined name key_alias in selection clause pig 0.11.1 and cassandra 2.0.1

2013-09-30 Thread Miguel Angel Martin junquera
Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/9/30 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi: I try to test cassandra 2.0.1 and pig 0.11.1 but always when i try to load any keyspacei have this error: Example creating a test keyspace and data

temporal solution to CASSANDRA-5543: BUILD FAILED at gen-cql2-grammar target

2013-09-27 Thread Miguel Angel Martin junquera
hi all: Environment - apache-cassandra-2.0.1-src - EC2 - Linux version 3.2.30-49.59.amzn1.x86_64 (mockbuild@gobi-build-31003) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) When i try to build apache-cassandra-2.0.1-src in EC2 red had AMI, I have this error at the target,

Re: CqlStorage creates wrong schema for Pig

2013-09-04 Thread Miguel Angel Martin junquera
= FOREACH rows GENERATE FromCqlColumn(title) AS title;* *dump values3;* *describe values3;* (Use FromCqlColumn on the original data, not the flattened data.) Chad On Mon, Sep 2, 2013 at 8:45 AM, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com wrote: Hi 1.- May

Re: how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-09-02 Thread Miguel Angel Martin junquera
hi: I test this in cassandra 1.2.9 new version and the issue still persists . :-( Miguel Angel Martín Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/8/30 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com I try this: *rows = LOAD 'cql://keyspace1/test

Re: CqlStorage creates wrong schema for Pig

2013-09-02 Thread Miguel Angel Martin junquera
, since that's what this seems to be. Chad On Fri, Aug 30, 2013 at 2:02 AM, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com wrote: I try this: *rows = LOAD 'cql://keyspace1/test?page_size=1split_size=4where_clause=age%3D30' USING CqlStorage();* *dump rows;* *ILLUSTRATE rows

Re: how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-09-02 Thread Miguel Angel Martin junquera
-branch.txt ant Miguel Angel Martín Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/9/2 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi: I test this in cassandra 1.2.9 new version and the issue still persists . :-( Miguel Angel Martín Junquera Analyst

Re: CqlStorage creates wrong schema for Pig

2013-09-02 Thread Miguel Angel Martin junquera
-branch.txt ant Miguel Angel Martín Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/9/2 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com *good/nice job !!!* * * * * *I'd testing with an udf only with string schema type this is better and elaborate work

Re: CqlStorage creates wrong schema for Pig

2013-09-02 Thread Miguel Angel Martin junquera
Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/9/2 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi all: More info : https://issues.apache.org/jira/browse/CASSANDRA-5941 I tried this (and gen. cassandra 1.2.9) but do not work for me, git clone http

Re: how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-08-30 Thread Miguel Angel Martin junquera
Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/8/28 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi: I can not understand why the schema is define like *id:chararray,age:int,title:chararray and it does not define like tuples or bag tuples, if we have pair

Re: CqlStorage creates wrong schema for Pig

2013-08-30 Thread Miguel Angel Martin junquera
Junquera Analyst Engineer. miguelangel.mar...@brainsins.com 2013/8/26 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi Chad . I have this issue I send a mail to user-pig-list and I still i can resolve this, and I can not access to column values. In this mail I write some

Re: how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-08-28 Thread Miguel Angel Martin junquera
hi all: Regards Still i can resolve this issue. . does anybody have this issue or try to test this simple example? i am stumped I can not find a solution working. I appreciate any comment or help 2013/8/22 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi all: I

Re: how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-08-28 Thread Miguel Angel Martin junquera
in the definition cql3 tables ?* * * *regards* 2013/8/28 Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com hi all: Regards Still i can resolve this issue. . does anybody have this issue or try to test this simple example? i am stumped I can not find a solution working

Re: CqlStorage creates wrong schema for Pig

2013-08-26 Thread Miguel Angel Martin junquera
hi Chad . I have this issue I send a mail to user-pig-list and I still i can resolve this, and I can not access to column values. In this mail I write some things that I try without results... and information about this issue.

how can i get the column value? Need help!.. cassandra 1.28 and pig 0.11.1

2013-08-22 Thread Miguel Angel Martin junquera
hi all: I,m testing the new CqlStorage() with cassandra 1.28 and pig 0.11.1 I am using this sample data test: http://frommyworkshop.blogspot.com.es/2013/07/hadoop-map-reduce-with-cassandra.html And I load and dump data Righ with this script: *rows = LOAD

bug in Pig LOAD with cqlStorage and param columns? - cassandra 1.2.8 - pig 0.11.1

2013-08-21 Thread Miguel Angel Martin junquera
hi: I am using pig 0.11.1 and cassandra 1.2.8. i try this http://frommyworkshop.blogspot.com.es/2013/07/hadoop-map-reduce-with-cassandra.html and... *rows = LOAD 'cql://keyspace1/test?page_size=1split_size=4where_clause=age%3D30' USING CqlStorage();* *dump rows;* works fine if I skip

Re: Pig load data with cassandrastorage and slice filter param

2013-07-18 Thread Miguel Angel Martin junquera
, Miguel Angel Martin junquera mianmarjun.mailingl...@gmail.com wrote: hi all I trying to load data from cassandra with slice params option but ther are no much info about how to use i. I found only a quick reference in readme.txt in cassandra project .../examples/pig ... Slices

Pig load data with cassandrastorage and slice filter param

2013-07-16 Thread Miguel Angel Martin junquera
hi all I trying to load data from cassandra with slice params option but ther are no much info about how to use i. I found only a quick reference in readme.txt in cassandra project .../examples/pig *...* *Slices on columns can also be specified:* *grunt rows = LOAD

Fwd: error casandra ring an hadoop connection ¿?

2013-04-29 Thread Miguel Angel Martin junquera
*hi all:* * * *i can run pig with cassandra and hadoop in EC2.* * * *I ,m trying to run pig with cassandra ring and hadoop * *The ring cassandra have the tasktrackers and datanodes , too. * * * *and i running pig from another machine where i have intalled the namenode-jobtracker.* *ihave