Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Extending DFSInputStream class

Copy link to this message
Re: Extending DFSInputStream class
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 <[EMAIL PROTECTED]> 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