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
Rob Blah 2013-09-26, 15:03
I have specific complex stream scheme, which I want to hide from the user
(short answer), also some security reasons (limiting possible read buffer
size).
2013/9/26 java8964 java8964 <[EMAIL PROTECTED]>

> Just curious, any reason you don't want to use the DFSDataInputStream?
>
> Yong
>
> ------------------------------
> Date: Thu, 26 Sep 2013 16:46:00 +0200
> Subject: Extending DFSInputStream class
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
>
> 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
>