Layer the beans, onions and dill in each jar evenly.
In a large saucepan, bring water, vinegar, sugar, salt, coriander seeds and peppercorns to a boil. Stir to dissolve sugar and salt. Let cool completely and pour mixture evenly into each jar. Refrigerate for at least two hours before serving. Best when made 24 hours ahead.