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(); >> }
