File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
(ns backtype.storm.clojure
2
2
(:use [clojure.contrib.def :only [defnk defalias ]])
3
3
(:use [backtype.storm bootstrap util])
4
- (:import [backtype.storm LocalCluster StormSubmitter])
4
+ (:import [backtype.storm StormSubmitter])
5
5
(:import [backtype.storm.generated StreamInfo])
6
6
(:import [backtype.storm.tuple Tuple])
7
7
(:import [backtype.storm.task OutputCollector IBolt])
190
190
(defn submit-remote-topology [name conf topology]
191
191
(StormSubmitter/submitTopology name conf topology))
192
192
193
- (defn local-cluster []
194
- (LocalCluster. ))
193
+ (defn local-cluster []
194
+ ; ; do this to avoid a cyclic dependency of
195
+ ; ; LocalCluster -> testing -> nimbus -> bootstrap -> clojure -> LocalCluster
196
+ (eval '(new backtype.storm.LocalCluster))
You can’t perform that action at this time.
0 commit comments