accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Trost <jason.tr...@gmail.com>
Subject Re: proxy
Date Thu, 22 Aug 2013 00:40:19 GMT
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
<miguelapereira1@gmail.com>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 <jason.trost@gmail.com>
> 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" <eric.newton@gmail.com> 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
> > > <miguelapereira1@gmail.com>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
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message