hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject HFilePerformanceEvaluation: Nothing follows logic
Date Wed, 27 Feb 2013 12:32:30 GMT
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