Miguel, It works with python 2.7. It likely works with other version too, I haven't tested it though. I don't think thrift generates different code based on the python version.
What version of python are you using? --Jason On Wed, Aug 21, 2013 at 9:13 AM, Miguel Pereira <[email protected]>wrote: > Thanks guys, > > I will look into that Jason, is your code compatible with a specific > version of python? Or maybe a better question is does thrift generate > different bindings based on python version and other things..? > > > On Mon, Aug 19, 2013 at 10:48 PM, Jason Trost <[email protected]> > wrote: > > > You may want to give pyaccumulo a try if you are using python. I designed > > it to be a little more python friendly. It uses the python thrift code > and > > the proxy. > > > > github.com/accumulo/pyaccumulo > > > > Feedback and pull requests are welcome. > > > > --Jason > > > > sent from my DROID > > On Aug 19, 2013 11:01 AM, "Eric Newton" <[email protected]> wrote: > > > > > You can just build at the top level. Ensure that the thrift command is > > in > > > your path: > > > > > > $ thrift --version > > > Thrift version 0.9.0 > > > > > > Build accumulo: > > > > > > $ mvn -Pthrift -DskipTests package > > > > > > Start accumulo: > > > > > > $ ./bin/start-all.sh > > > > > > Start the proxy: > > > > > > $ ./bin/accumulo proxy -p proxy/proxy.properties > > > > > > Run a python script: > > > > > > $ PYTHONPATH=proxy/target/gen-py python > > > proxy/examples/python/TestClient.py > > > > > > -Eric > > > > > > > > > On Mon, Aug 12, 2013 at 1:39 PM, Miguel Pereira > > > <[email protected]>wrote: > > > > > > > Hey guys, > > > > > > > > Looking for some help to set up the proxy. proxy readme points to > > > ../readme > > > > for building and installing with the proxy server but ../readme > doesn't > > > say > > > > anything about the proxy :) > > > > > > > > my goal is to prototype a small python app that calls the accumulo > api > > > > using the proxy. if anyone has done this I would appreciate a brief > > list > > > of > > > > steps prereqs :) > > > > > > > > Cheers, > > > > Miguel > > > > > > > > > >
