From 914d07758a2fbbfe237ca825374c038f29890194 Mon Sep 17 00:00:00 2001 From: caofangkun Date: Thu, 19 Mar 2015 10:53:24 +0800 Subject: [PATCH] fastfix-01:modify config.read-supervisor-storm-conf function remove unused topology-path --- storm-core/src/clj/backtype/storm/config.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storm-core/src/clj/backtype/storm/config.clj b/storm-core/src/clj/backtype/storm/config.clj index a345dafe85a..523d92f7a07 100644 --- a/storm-core/src/clj/backtype/storm/config.clj +++ b/storm-core/src/clj/backtype/storm/config.clj @@ -210,8 +210,7 @@ (defn read-supervisor-storm-conf [conf storm-id] (let [stormroot (supervisor-stormdist-root conf storm-id) - conf-path (supervisor-stormconf-path stormroot) - topology-path (supervisor-stormcode-path stormroot)] + conf-path (supervisor-stormconf-path stormroot)] (merge conf (clojurify-structure (Utils/javaDeserialize (FileUtils/readFileToByteArray (File. conf-path)) java.util.Map))))) (defn read-supervisor-topology