Re: Cassandra 2.1.2, Pig 0.14, Hadoop 2.6.0 does not work together

2015-01-23 Thread Pinak Pani
va is being picked up from somewhere else? have a global > classpath variable? > > you might want to do > > URL u = YourClass.getResource("/com/google/common/collect/Sets.class"); > System.out.println(u); > > to see where you are loading guava from. > > &

Cassandra 2.1.2, Pig 0.14, Hadoop 2.6.0 does not work together

2015-01-22 Thread Pinak Pani
I am using Pig with Cassandra (Cassandra 2.1.2, Pig 0.14, Hadoop 2.6.0 combo). When I use CqlStorage() I get org.apache.pig.backend.executionengine.ExecException: ERROR 2118: org.apache.cassandra.exceptions.ConfigurationException: Unable to find inputformat class 'org.apache.cassandra.hadoop.cql3

Re: Authentication is failing.

2014-09-28 Thread Pinak Pani
Phone: +46 708 84 18 32 Web: www.tink.se Facebook Linkedin Twitter >> >> >> On Sun, Sep 28, 2014 at 11:08 AM, Pinak Pani < >> nishant.has.a.quest...@gmail.com> wrote: >> >>> Hi, >>> >>> I have been toying around with CQL. I realized when

Authentication is failing.

2014-09-28 Thread Pinak Pani
Hi, I have been toying around with CQL. I realized when I GRANT SELECT I lose authentication. Here is the process: Can someone point out what is wrong? ➜ apache-cassandra-2.1.0 bin/cqlsh -u cassandra -p cassandra Connected to Test Cluster at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 2.1.0 | CQL

A trigger that modifies the current Mutation

2014-09-27 Thread Pinak Pani
Hi, I wanted to create a trigger that alters the current mutation. For example, I wanted to, say, iterate through the ColumnFamily in augment method and look for all the fields that are of type text or varchar and change them to upper case. I am not sure how to do that. Can someone help me? Basic

Re: How to create counter column family via Pycassa?

2013-08-15 Thread Pinak Pani
ate_column_family(). > > > On Thu, Aug 15, 2013 at 10:38 AM, Pinak Pani < > nishant.has.a.quest...@gmail.com> wrote: > >> I do not find a way to create a counter column family in Pycassa. >> This[1] does not help. >> >> Appreciate if someone

How to create counter column family via Pycassa?

2013-08-15 Thread Pinak Pani
I do not find a way to create a counter column family in Pycassa. This[1] does not help. Appreciate if someone can help me. Thanks 1. http://pycassa.github.io/pycassa/api/pycassa/system_manager.html#pycassa.system_manager.SystemManager.create_column_family

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
Great! thanks Bryan. I seemed to confused by "logical ring" within each data-center. Actually, if I focus on RF that was configured it is all obvious. :) Thanks for your time, PP

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
Assume NetworkTopologyStrategy. So, I wanted to know whether a data-center will contain all the keys? This is the case: CREATE KEYSPACE appKS WITH placement_strategy = 'NetworkTopologyStrategy' AND strategy_options={DC1:3, DC2:3}; Does DC1 and DC2 each contain complete database corpus? That

In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
I just wanted to verify the fact that if I happen to setup a multi data-center Cassandra setup, will each data center have the complete data-set with it? Say, I have two data-center each with two nodes, and a partitioner that ranges from 0 to 100. Initial token assigned this way DC1:N1 = 00 DC2:N