Re: bug in SequenceFile.sync()?

2013-06-24 Thread Christopher Ng
s. > > Colin > Software Engineer, Cloudera > > > On Mon, Jun 24, 2013 at 2:20 AM, Christopher Ng wrote: > > cross-posting this from cdh-users group where it received little > interest: > > > > is there a bug in SequenceFile.sync()? This is from cdh4.3.0: > > >

HttpServer bug?

2013-06-24 Thread Christopher Ng
Is there a bug on line 259 of HttpServer: https://github.com/apache/hadoop-common/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java webAppContext.setWar(appDir + "/" + name); I believe this should be: webAppContext.setWar(appDir + "/" + n

bug in SequenceFile.sync()?

2013-06-24 Thread Christopher Ng
cross-posting this from cdh-users group where it received little interest: is there a bug in SequenceFile.sync()? This is from cdh4.3.0: /** Seek to the next sync mark past a given position.*/ public synchronized void sync(long position) throws IOException { if (position+SYNC_SIZE