accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki" <>
Subject Re: Review Request 23093: ACCUMULO-2947 - Limit cells per mutation in memory stress test
Date Tue, 01 Jul 2014 19:00:24 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 1, 2014, 3 p.m.)

Review request for accumulo and Bill Slacum.


Incorporated Josh's feedback.

Bugs: ACCUMULO-2947

Repository: accumulo


A new switch to the memory stress test Write utility, --max-cells-per-mutation, controls the
maximum number of cells to be written in any mutation. If the maximum is hit before the configured
row width, the current mutation is used and the next mutation picks up where it left off,
in the same row.

The core logic is in the RandomMutations class. It uses a counter for how many cells are remaining
in the current row, with 0 indicating that a new row should be started. Otherwise, the last
row is used. The counter is used as the loop counter for writing cells. When it hits zero
or the maximum, writes stop.

Diffs (updated)

  test/src/main/java/org/apache/accumulo/test/stress/random/ c4504b2 
  test/src/main/java/org/apache/accumulo/test/stress/random/ 9c29871 
  test/src/main/java/org/apache/accumulo/test/stress/random/ c213528 
  test/system/stress/ 1360c67 
  test/system/stress/ 7d9b283 



Ran memory stress test on single-node 1.5.2 cluster. With max-cells-per-mutation = 4 and row-width
ranging from 1 to 7, saw rows still being written with 5 or more cells.


Bill Havanki

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message