The way we have gotten around this in the past is extending and then
copying the private code and creating a brand new implementation.


On Thu, Sep 26, 2013 at 10:50 AM, Jay Vyas <jayunit...@gmail.com> wrote:

> This is actually somewhat common in some of the hadoop core classes :
> Private constructors and inner classes. I think in the long term jiras
> should be opened for these to make them public and pluggable with public
> parameterized constructors wherever possible, so that modularizations can
> be provided.
>
>
> On Thu, Sep 26, 2013 at 10:46 AM, Rob Blah <tmp5...@gmail.com> wrote:
>
>> Hi
>>
>> I would like to wrap DFSInputStream by extension. However it seems that
>> the DFSInputStream constructor is package private. Is there anyway to
>> achieve my goal? Also just out of curiosity why you have made this class
>> inaccessible for developers, or am I missing something?
>>
>> regards
>> tmp
>>
>
>
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>



-- 
Jay Vyas
http://jayunit100.blogspot.com

Reply via email to