[
https://issues.apache.org/jira/browse/WHIRR-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045057#comment-13045057
]
Andrei Savu commented on WHIRR-325:
-----------------------------------
> We could use this along with runScriptOnNode() to pass IP addresses, etc. Is
> this what you had in mind?
Exactly.
> One possible downside to this approach is that using "whirr run-script"
> wouldn't be able to set these environment variables
We could rewrite "whirr run-script" in terms of runScriptOnNode.
Actually I think it would be useful to have a runScriptOnNode method on the
ClusterController that would set all the required environment variables and we
could call that by using an executor service.
> Reduce cloud provider-specific code in scripts
> ----------------------------------------------
>
> Key: WHIRR-325
> URL: https://issues.apache.org/jira/browse/WHIRR-325
> Project: Whirr
> Issue Type: Improvement
> Reporter: Tom White
>
> Many of the bash functions have a cloud provider option (-c) that they use to
> determine how to find the local public/private IP address, or the local data
> directory (/mnt vs /data, for example).
> We should pass what is needed (e.g. IP addresses, directories), or at least
> put the code in a common function.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira