Posts

Showing posts with the label trosts

Using Pig with Accumulo building on Jason Trosts work

Using Pig with Accumulo building on Jason Trosts work https://github.com/medined/accumulo-pig shows how to use Accumulo as a simple source for Apache Pig. (By the way, I havent tested writing to Accumulo yet) After the quick setup, youll be able to read from Accumulo using a script like the following. The character represents a line continuation. Be careful with your security because the password is sent via plain text. And stored in your history buffer. Probably this should be changed to use a property file. pig register /home/vagrant/accumulo_home/bin/accumulo/lib/accumulo-core.jar register /home/vagrant/accumulo_home/bin/accumulo/lib/accumulo-fate.jar register /home/vagrant/accumulo_home/bin/accumulo/lib/accumulo-trace.jar register /home/vagrant/accumulo_home/bin/accumulo/lib/libthrift.jar register /home/vagrant/accumulo_home/bin/zookeeper/zookeeper-3.4.5.jar register /vagrant/accumulo-pig/target/accumulo-pig-1.4.0.jar DATA = LOAD accumulo://people?instance=instance&user=roo...