If you can stand having a GPL-licensed component, then you can try JNA instead of JNI. Its a little bit simpler to work with.
On Tue, Aug 14, 2012 at 11:48 AM, Billie Rinaldi <[email protected]> wrote: > On Mon, Aug 13, 2012 at 6:46 PM, Cardon, Tejay E > <[email protected]>wrote: > >> All,**** >> >> Is there an easy way to leverage C++ in Accumulo; perhaps something >> similar to Hadoop pipes?**** >> >> ** ** >> >> In my case we have some C++ code that we’d like to leverage for a >> FilteringIterator, but we’d prefer not to port it over to Java, and we’d >> like to avoid JNI if we can. >> > > No, there isn't an easy way to do that. It would be possible to use > Hadoop pipes with Accumulo by manually deserializing Keys, but that > wouldn't help for an Iterator. If you go the JNI route, taking a look at > the native map code might be helpful. > > Billie > > > >> **** >> >> ** ** >> >> Thanks,**** >> >> Tejay**** >> > >
