From fa9cfbb7fc4acb4c4a1e4e6340c62bd5c3f48972 Mon Sep 17 00:00:00 2001 From: Colin Surprenant Date: Tue, 29 May 2012 15:11:34 -0400 Subject: [PATCH] add 1.9 mode config in example topologies --- examples/simple/exclamation_topology.rb | 1 + examples/simple/exclamation_topology2.rb | 1 + examples/simple/word_count_topology.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/simple/exclamation_topology.rb b/examples/simple/exclamation_topology.rb index 3eaf40d..37fc86b 100644 --- a/examples/simple/exclamation_topology.rb +++ b/examples/simple/exclamation_topology.rb @@ -19,6 +19,7 @@ module RedStorm configure do |env| debug true + set "topology.worker.childopts", "-Djruby.compat.version=RUBY1_9" case env when :local max_task_parallelism 3 diff --git a/examples/simple/exclamation_topology2.rb b/examples/simple/exclamation_topology2.rb index 2a0765d..8a18ce5 100644 --- a/examples/simple/exclamation_topology2.rb +++ b/examples/simple/exclamation_topology2.rb @@ -24,6 +24,7 @@ module RedStorm configure do |env| debug true + set "topology.worker.childopts", "-Djruby.compat.version=RUBY1_9" case env when :local max_task_parallelism 3 diff --git a/examples/simple/word_count_topology.rb b/examples/simple/word_count_topology.rb index 73b2188..08e191d 100644 --- a/examples/simple/word_count_topology.rb +++ b/examples/simple/word_count_topology.rb @@ -17,6 +17,7 @@ module RedStorm configure :word_count do |env| debug true + set "topology.worker.childopts", "-Djruby.compat.version=RUBY1_9" case env when :local max_task_parallelism 3