[
https://issues.apache.org/jira/browse/SLIDER-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295168#comment-14295168
]
Steve Loughran commented on SLIDER-770:
---------------------------------------
you can certainly patch in app config values at create time. What we don't have
is the ability to cross-reference things (there's an existing JIRA), or the
ability to update/replace the app config in an installed or live application
instance.
I've been putting off the cross-referencing as its complex (specifically: when
and where to evaluate things) ... I think it'd be good to have a discussion on
this topic once we've got 0.70 out the door.
> Ability to inject user-defined env vars into appConfig.json and resources.json
> ------------------------------------------------------------------------------
>
> Key: SLIDER-770
> URL: https://issues.apache.org/jira/browse/SLIDER-770
> Project: Slider
> Issue Type: Improvement
> Components: client
> Reporter: Lee Yang
> Priority: Minor
>
> Currently, these two config files support limited variable substitution (from
> environment variables). Ideally, it would be nice if these files could
> generically support user-defined environment variables.
> For example, in appConfig.json, the "global/application.def" variable might
> be parameterized with something like: "${HDFS_INSTALL_DIR}/slider_pkg.zip",
> allowing users to define and use an environment variable which is expanded
> when the "slider create" command is invoked. The key thing is that these
> variables must be open/user-defined (vs.a fixed set).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)