From 1313ea09f67eb40bbbd2e10b3ced2b29c07e5b58 Mon Sep 17 00:00:00 2001 From: Jared Lobberecht Date: Fri, 22 Mar 2013 20:04:19 -0500 Subject: [PATCH] adding ec2 availability zone location parameter to cluster yaml config --- src/clj/backtype/storm/node.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/clj/backtype/storm/node.clj b/src/clj/backtype/storm/node.clj index 89de101..d0a58a4 100644 --- a/src/clj/backtype/storm/node.clj +++ b/src/clj/backtype/storm/node.clj @@ -149,7 +149,11 @@ (assoc-with-conf-key :image-id "image") (assoc-with-conf-key :hardware-id "hardware") (assoc-with-conf-key :spot-price "spot.price" :f float) - )))) + ) + :location (-> {} + (assoc-with-conf-key :location-id "location")) + ))) + (defn zookeeper ([name server-spec]