You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Set the following properties in accumulo.properties:

manager.tablet.watcher.interval=15s
tserver.ondemand.tablet.unloader.interval=1m
table.custom.ondemand.unloader.inactivity.threshold.seconds=120


Run the following commands in the shell:

createtable test
listtablets (1)
insert a b c d (2)
listtablets (3)
sleep 240 (4)
listtablets (5)
addsplits f t -t test (6)
listtablets (7)
goal -t test -b a -e f -g NEVER (8)
goal -t test -b g -e t -g ALWAYS (9)
scan -t accumulo.metadata -c hosting:goal (10) 
sleep 240 (11)
listtablets (12)
insert a b c d (13)
insert g h i j (14)
insert w x y z (15)
listtablets(16)
scan -t test (17)
scan -t test -b g (18)


  1. tablet unassigned, in ondemand state
  2. causes tablet to be hosted
  3. confirm that tablet is hosted
  4. wait 2x inactivity timeout, tablet should be unassigned
  5. confirm that tablet is unassigned
  6. add splits f and t
  7. default tablet is hosted (to perform split), new tablets are unassigned
  8. set tablet hosting goal to never
  9. set tablet hosting goal to always
  10. confirm hosting goal set
  11. wait 2x inactivity timeout, default tablet should be unassigned
  12. confirm that only f->t tablet is assigned
  13. fails because tablet -INF-> f is set to NEVER hosted
  14. succeeds
  15. succeeds, causes tablet t->+INF to be hosted
  16. confirm that tablets f->t and t->+INF are hosted
  17. fails because tablet -INF-> f is set to NEVER hosted
  18. succeeds




  • No labels