Github user redsanket commented on a diff in the pull request:

    https://github.com/apache/storm/pull/845#discussion_r45306963
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/supervisor.clj ---
    @@ -811,6 +993,21 @@
           :else (-> value sub-fn (clojure.string/split #"\s+")))))
     
     
    +(defn create-blobstore-links
    +  "Create symlinks in worker launch directory for all blobs"
    +  [conf storm-id port worker-id]
    +  (let [stormroot (supervisor-stormdist-root conf storm-id)
    +        storm-conf (read-supervisor-storm-conf conf storm-id)
    +        workerroot (worker-root conf worker-id)
    +        blobstore-map (storm-conf TOPOLOGY-BLOBSTORE-MAP)
    +        blob-file-names (get-blob-file-names blobstore-map)
    +        resource-file-names (cons RESOURCES-SUBDIR blob-file-names)]
    +    (log-message "Creating symlinks for worker-id: " worker-id " storm-id: 
"
    +      storm-id " for files(" (count resource-file-names) "): " (pr-str 
resource-file-names))
    +    (create-symlink! workerroot stormroot RESOURCES-SUBDIR)
    +    (doseq [file-name blob-file-names]
    +      (create-symlink! workerroot stormroot file-name file-name))))
    --- End diff --
    
    removed the parameter


---
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.
---

Reply via email to