HBase
  1. HBase
  2. HBASE-10552

HFilePerformanceEvaluation.GaussianRandomReadBenchmark fails sometimes.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.96.2, 0.98.1, 0.99.0, 0.94.17
    • Component/s: None
    • Labels:
      None

      Description

      GaussianRandomReadBenchmark generates seek keys by using a Gaussian distribution with the mean of N/2 and a sigma of N/10 (N = number of rows used) and using this key directly to seek into the HFile. The HFile was seeded with keys from 0-N.

      This will fail if we ever generate a key < 0, which is rare, but by no means impossible. We need to clamp the min and max values to 0 and N, resp.

      1. 10552-0.94.txt
        1 kB
        Lars Hofhansl
      2. 10552-trunk.txt
        1 kB
        Lars Hofhansl

        Activity

        Lars Hofhansl created issue -
        Lars Hofhansl made changes -
        Field Original Value New Value
        Description GaussianRandomReadBenchmark generates seek keys by using a Gaussian distribution with the mean of N/2 and a sigma of N/10 (N = number of rows used) and using this key directly to seek into the HFile. The HFile was seeded with keys from 0-N.

        This will fail if we ever generate a key < 0, which is rare, but by no means impossible. We need to clamp the min and max values to 0 and 2*N, resp.
        GaussianRandomReadBenchmark generates seek keys by using a Gaussian distribution with the mean of N/2 and a sigma of N/10 (N = number of rows used) and using this key directly to seek into the HFile. The HFile was seeded with keys from 0-N.

        This will fail if we ever generate a key < 0, which is rare, but by no means impossible. We need to clamp the min and max values to 0 and N, resp.
        Lars Hofhansl made changes -
        Attachment 10552-0.94.txt [ 12629278 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.96.2 [ 12325658 ]
        Fix Version/s 0.98.1 [ 12325664 ]
        Fix Version/s 0.99.0 [ 12325675 ]
        Fix Version/s 0.94.17 [ 12325845 ]
        Lars Hofhansl made changes -
        Attachment 10552-trunk.txt [ 12629279 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Lars Hofhansl
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development