hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted <yuzhih...@gmail.com>
Subject Re: HFilePerformanceEvaluation: Nothing follows logic
Date Wed, 27 Feb 2013 12:38:22 GMT
Looks like a bug. 

Mind opening Jira ?

Thanks

On Feb 27, 2013, at 4:32 AM, Jean-Marc Spaggiari <jean-marc@spaggiari.org> wrote:

> Hi,
> 
> In HFilePerformanceEvaluation, there is 2 places where we are doing
> scanner.next() but still trying to read the key and/or the value. This
> is failing. I'm wondering if there is any logic behind that or if I
> can fix it.
> 
> JM
> 
> 
>      for (int ii = 0; ii < 30; ii++) {
>        if (!scanner.next()) {
>          System.out.println("NOTHING FOLLOWS");
>        }
>        scanner.getKey();
>        scanner.getValue();
>      }

Mime
View raw message