hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinayakumar B <vinayakum...@apache.org>
Subject Re: [DISCUSS] Allow continue reading from being-written file using same stream
Date Sat, 20 Sep 2014 07:12:33 GMT
Yes stack..
Regards,
Vinay
On Sep 20, 2014 1:03 AM, "Stack" <stack@duboce.net> wrote:

> On Thu, Sep 18, 2014 at 12:48 AM, Vinayakumar B <vinayakumarb@apache.org>
> wrote:
>
> > Hi all,
> >
> > Currently *DFSInputStream *doen't allow reading a write-inprogress file,
> > once all written bytes, by the time of opening an input stream, are read.
> >
> > To read further update on the same file, needs to be read by opening
> > another stream to the same file again.
> >
> > Instead how about refreshing length of such open files if the current
> > position is at earlier EOF.
> >
>
> Are you talking tailing an HDFS file without having to fake it with a loop
> that does open, read till EOF, close, repeat?  If so, sounds great.
> St.Ack
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message