On 6/8/17 4:10 PM, James Srinivasan wrote:
[snip]
https://github.com/apache/accumulo/blob/f81a8ec7410e789d11941351d5899b8894c6a322/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/ConfiguratorBase.java#L485-L500

This pulls the "DelegationTokenStub" out of the InputFormat and creates a
real Accumulo AuthenticationToken (which you can use with a Connector
per-usual).

Brilliant - that's it! Now my custom InputFormat is working.

Thanks ever so much for your help - it is hugely appreciated!

James


Fantastic. Glad to hear it!

If you're interested and have the ability to cut/paste your code, updating the Accumulo examples[1] with more of the nitty-gritty on using Kerberos+MapReduce would be great! You definitely have the hard-stuff done :)

[1] https://accumulo.apache.org/1.8/examples/

Reply via email to