RE: Compressor setInput input permanence

2011-12-05 Thread Tim Broberg
er 04, 2011 10:51 PM To: common-dev@hadoop.apache.org; Tim Broberg Subject: Re: Compressor setInput input permanence Hi Tim, My guess is that this contract isn't explicitly documented anywhere. But the good news is that the set of implementors and users of this API is fairly well contained. I

Re: Compressor setInput input permanence

2011-12-04 Thread Todd Lipcon
Hi Tim, My guess is that this contract isn't explicitly documented anywhere. But the good news is that the set of implementors and users of this API is fairly well contained. I'd propose you do the following: - Look for any dependent projects which use the Compressor API directly. I know HBase do

Compressor setInput input permanence

2011-12-03 Thread Tim Broberg
The question is, how long can a Compressor count on the user buffer to stick around after a call to setInput()?   The Compressor object has a method, setInput whose inputs are an array reference, an offset and a length.   I would expect that this input would no longer be guaranteed to persist aft