Ah. Indeed. Now the interesting question is: Why does it fail sometimes. I guess we should continue the discussion on the jira that Andy created.
________________________________ From: Ted Yu <[email protected]> To: [email protected] Sent: Wednesday, January 16, 2013 3:28 PM Subject: Re: precommit exception when opening HFiles. RawComparator is an interface: public interface RawComparator<T> extends Comparator<T> { FYI On Wed, Jan 16, 2013 at 3:26 PM, Stack <[email protected]> wrote: > On Wed, Jan 16, 2013 at 3:16 PM, Andrew Purtell <[email protected]> > wrote: > > > There's a default assignment of org.apache.hadoop.io.RawComparator for > that > > case, even if it were likely. > > > > comparatorClassName is set to org.apache.hadoop.io.RawComparator. The > > instantiation of this class is what is failing. The class can't be found. > > I've seen this sort of thing happen when jars are pulled out from under > > the JVM. No idea what is really going on here. > > > > > Yeah. This is what I saw taking a look this morning. The test is plain > enough. We can't read the hfiles because can't find the class. I can't > explain. > > St.Ack >
