Github user knusbaum commented on a diff in the pull request: https://github.com/apache/storm/pull/845#discussion_r43810519 --- Diff: storm-core/src/clj/backtype/storm/daemon/nimbus.clj --- @@ -1035,30 +1150,28 @@ (catch Exception e (throw (AuthorizationException. (str "Invalid file path: " file-path)))))) -(defn try-read-storm-conf [conf storm-id] +(defn try-read-storm-conf [conf storm-id blob-store] (try-cause - (read-storm-conf conf storm-id) - (catch FileNotFoundException e - (throw (NotAliveException. (str storm-id)))) - ) -) + (read-storm-conf-as-nimbus storm-id blob-store) + (catch KeyNotFoundException e + (throw (NotAliveException. (str storm-id)))))) (defn try-read-storm-conf-from-name [conf storm-name nimbus] (let [storm-cluster-state (:storm-cluster-state nimbus) + blob-store (:blob-store nimbus) id (get-storm-id storm-cluster-state storm-name)] - (try-read-storm-conf conf id))) + (try-read-storm-conf conf id blob-store))) --- End diff -- indentation
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---