We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f95c40d commit 103806cCopy full SHA for 103806c
src/clj/backtype/storm/daemon/nimbus.clj
@@ -679,6 +679,8 @@
679
(reify Nimbus$Iface
680
(^void submitTopology
681
[this ^String storm-name ^String uploadedJarLocation ^String serializedConf ^StormTopology topology]
682
+ (if (.contains storm-name "/")
683
+ (throw (InvalidTopologyException. "Topology name cannot contains slashes")))
684
(check-storm-active! nimbus storm-name false)
685
(swap! (:submitted-count nimbus) inc)
686
(let [storm-id (str storm-name "-" @(:submitted-count nimbus) "-" (current-time-secs))
0 commit comments