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

Switch to Plain View
Accumulo, mail # dev - proxy


+
Miguel Pereira 2013-08-12, 17:39
+
Eric Newton 2013-08-19, 15:01
+
Jason Trost 2013-08-20, 02:48
+
Miguel Pereira 2013-08-21, 13:13
Copy link to this message
-
Re: proxy
Jason Trost 2013-08-22, 00:40
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
> > > >
> > >
> >
>