hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: SequenceFileLogReader uses a reflection hack resulting in runtime failures
Date Fri, 02 Dec 2011 06:33:34 GMT
On Thu, Dec 1, 2011 at 9:59 PM, Mikhail Bautin
<bautin.mailing.lists@gmail.com> wrote:
> 11/12/01 21:40:07 WARN wal.SequenceFileLogReader: Error while trying to get
> accurate file length.  Truncation / data loss may occur if RegionServers
> die.
> java.lang.NoSuchMethodException:
> org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.getFileLength()

Your hadoop doesn't have this Mikhail?

> Besides, even when it works, the reflection-based solution is probably
> _much_ slower than straightforward method access. Should we create a Hadoop
> patch to expose the appropriate API call and get rid of the reflection hack?

It would be the sensible thing to do; much more sensible than the
reflection gymnastics we have going on here.


View raw message