Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> precommit exception when opening HFiles.


Copy link to this message
-
Re: precommit exception when opening HFiles.
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
>