Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # dev - proxy


Copy link to this message
-
Re: proxy
Miguel Pereira 2013-08-21, 13:13
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
> > >
> >
>