Github user zhuoliu commented on the pull request:
https://github.com/apache/storm/pull/849#issuecomment-154130951
Hi @revans2 and @tgravescs ,
For checking all cases of relative/absolute directory for healthcheck, I
would suggest to add the following function in config.clj, then healthcheck.clj
can all this function to get the directory.
(defn absolute-healthcheck-dir [conf]
(let [storm-home (System/getProperty "storm.home")
path (conf STORM-HEALTH-CHECK-DIR)]
(if path
(if (is-absolute-path? path) path (str storm-home file-path-separator
path))
(str storm-home file-path-separator âhealthcheckâ))))
---
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.
---