You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2015/12/14 16:29:37 UTC

[2/5] storm git commit: Minor

Minor


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/9b8c12aa
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/9b8c12aa
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/9b8c12aa

Branch: refs/heads/master
Commit: 9b8c12aa21717ec6ae2ae55d67ccd9433e1af4f6
Parents: 3c49a73
Author: zhuol <zh...@yahoo-inc.com>
Authored: Thu Dec 10 19:18:29 2015 -0600
Committer: zhuol <zh...@yahoo-inc.com>
Committed: Thu Dec 10 19:18:29 2015 -0600

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/config.clj | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/9b8c12aa/storm-core/src/clj/backtype/storm/config.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/config.clj b/storm-core/src/clj/backtype/storm/config.clj
index a6cdc87..ffbbe99 100644
--- a/storm-core/src/clj/backtype/storm/config.clj
+++ b/storm-core/src/clj/backtype/storm/config.clj
@@ -254,11 +254,12 @@
 
 (defn worker-artifacts-root
   ([conf]
-    (let [workers-artifacts-dir (conf STORM-WORKERS-ARTIFACTS-DIR)]
-      (if workers-artifacts-dir
-        (if (is-absolute-path? workers-artifacts-dir)
-          workers-artifacts-dir
-          (str backtype.storm.util/LOG-DIR file-path-separator workers-artifacts-dir)))))
+   (let [workers-artifacts-dir (conf STORM-WORKERS-ARTIFACTS-DIR)]
+     (if workers-artifacts-dir
+       (if (is-absolute-path? workers-artifacts-dir)
+         workers-artifacts-dir
+         (str backtype.storm.util/LOG-DIR file-path-separator workers-artifacts-dir))
+       (str backtype.storm.util/LOG-DIR file-path-separator "workers-artifacts"))))
   ([conf id]
    (str (worker-artifacts-root conf) file-path-separator id))
   ([conf id port]