Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2127

randomWrite mode of PerformanceEvaluation benchmark program writes only to a small range of keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.2
    • 0.20.3, 0.90.0
    • test
    • None
    • not relevant

    • Reviewed

    Description

      "randomWrite" mode of PerformanceEvaluation (PE), with nclients > 1, does random writes only within a small range rather than across all rows.

      e.g, for:

      ./bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation --nomapred --rows=1000 randomWrite 10

      [Note: As per convention in all modes of PE, --rows is the number of rows per client]

      So for the above, with # of clients set to 10, currently all clients generate writes to keys in the 0..999 range instead of the 0..9999 range.

      [Fix appears to be simple. Will provide a patch.]

      Attachments

        1. 2127.0.20.patch
          0.7 kB
          Kannan Muthukkaruppan

        Activity

          People

            Unassigned Unassigned
            kannanm Kannan Muthukkaruppan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: