hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: Is DFSInputStream.read(long position,...) designed for multi threaded access?
Date Wed, 02 Mar 2011 01:58:19 GMT
Hi Jason,

Yes, this method is currently very inefficient.. HDFS-941 will
hopefully improve this situation, but currently there's no
particularly efficient way to do multithreaded random access.

-Todd

On Tue, Mar 1, 2011 at 4:24 PM, Jason Rutherglen
<jason.rutherglen@gmail.com> wrote:
> It's unsynchronized however it's creating a new BlockReader on each
> call, that seems like a problem?
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
View raw message