accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <david.medin...@gmail.com>
Subject Re: Access to connector inside a Mapper class?
Date Thu, 24 Jan 2013 04:03:45 GMT
>From http://accumulo.apache.org/1.4/apidocs/index.html?org/apache/accumulo/core/client/mapreduce/AccumuloInputFormat.html,
it looks like you can call getInstance().getConnector(...). Look at
http://accumulo.apache.org/1.4/apidocs/index.html?org/apache/accumulo/core/client/mapreduce/AccumuloInputFormat.html
to see the signatures of getConnector.

On Wed, Jan 23, 2013 at 1:50 PM, Mike Hugo <mike@piragua.com> wrote:
> Is there a way to get access to the underlying connector being used by the
> Accumulo Input Format inside the map method of a Mapper class?  In certain
> scenarios, I need to be able to look up a value from a different table while
> iterating over a set of keys in the mapper class.  Should I just create a
> new connector instance?
>
> Mike

Mime
View raw message