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

Switch to Threaded View
HBase, mail # dev - HFilePerformanceEvaluation: Nothing follows logic


Copy link to this message
-
Re: HFilePerformanceEvaluation: Nothing follows logic
Jean-Marc Spaggiari 2013-02-27, 12:40
Yep, I will open one and submit (and not commit ;) ) a patch.

Thanks.

JM

2013/2/27 Ted <[EMAIL PROTECTED]>:
> Looks like a bug.
>
> Mind opening Jira ?
>
> Thanks
>
> On Feb 27, 2013, at 4:32 AM, Jean-Marc Spaggiari <[EMAIL PROTECTED]> 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();
>>      }