There's a pig-with-cassandra script somewhere you should be using.
It adds the jars, etc.
One issue, is that you need to call register on the .jars from your pig
scripts.
Honestly, someone should write an example pig setup with modern hadoop, all
the right register commands, real UPDATE queries
To specify your cassandra cluster, you only need to define one node:
In you profile or batch command set and export these variables:
export PIG_HOME=
export PIG_INITIAL_ADDRESS=localhost
export PIG_RPC_PORT=9160
# the partitioner must match your cassandra partitioner
export PIG_PARTITIONER=or
I am reasonably experienced with Hadoop and Pig but less so with Cassandra.
I have been banging my head against the wall as all the documentation
assumes I know something...
I am using Apache's tarball of Cassandra 1.something and I see that there
are some example pig scripts and a shell script to