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

    https://github.com/apache/storm/pull/822#discussion_r43155407
  
    --- Diff: storm-core/src/clj/backtype/storm/util.clj ---
    @@ -580,6 +582,21 @@
         (when-not success?
           (throw (RuntimeException. (str "Failed to touch " path))))))
     
    +(defn create-symlink!
    +  "Create symlink is to the target"
    +  ([path-dir target-dir file-name]
    +    (create-symlink! path-dir target-dir file-name file-name))
    +  ([path-dir target-dir from-file-name to-file-name]
    +    (let [path (str path-dir file-path-separator from-file-name)
    +          target (str target-dir file-path-separator to-file-name)
    +          empty-array (make-array String 0)
    +          attrs (make-array FileAttribute 0)
    +          abs-path (.toAbsolutePath (Paths/get path empty-array))
    +          abs-target (.toAbsolutePath (Paths/get target empty-array))]
    +      (log-message "Creating symlink [" abs-path "] to [" abs-target "]")
    --- End diff --
    
    This should probably be debug if we keep it around at all.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to