Apps typically do this by publishing the port in a quicklink. For example
https://github.com/apache/incubator-slider/blob/develop/app-packages/hbase/metainfo.xml#L42
where the port is pulled from
https://github.com/apache/incubator-slider/blob/develop/app-packages/hbase/appConfig-default.json#L39.


On Fri, Mar 3, 2017 at 9:42 AM, David.Serafini <david.seraf...@target.com>
wrote:

> Yes.  That's just a typo in my email.  It's not the issue.  The
> application runs fine; the diagnostics command is working,  but printing
> out the variable name isn't useful.  I want to know how I can find the
> value associated with that variable.
>
> -david
>
>
> On 3/3/17, 4:38 AM, <jonma...@gmail.com> wrote:
>
>     Should it actually be "APPNAME" instead of "APPNMAE"?
>
>     On Thu, Mar 2, 2017 at 11:29 PM, David.Serafini <
> david.seraf...@target.com>
>     wrote:
>
>     > when I run :  slider diagnostics --application --name <appname>
>     >
>     >   "global" : {
>     >     "site.global.port" : "${APPNMAE.ALLOCATED_PORT}{PER_CONTAINER}",
>     >
>     >
>     > How do I find the actual value of this variable?
>     >
>     > thx,
>     > -david
>     >
>     >
>     >
>
>
>     --
>     Sent from some random computer....
>
>
>

Reply via email to