ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <afernan...@hortonworks.com>
Subject Re: How hdp.version is calculated?
Date Mon, 29 Feb 2016 23:12:14 GMT
A lot of services rely on how the process is started. It analysis its
current working directory to find the version of HDP from the path.
E.g.,
/usr/hdp/current/$component-name symlink to /usr/hdp/#.#.#.#-###/$component
/usr/hdp/#.#.#.#-###/$component/bin/start.sh

Thanks,
Alejandro

On 2/29/16, 11:52 AM, "Di Li" <lovelycoast@yahoo.com.INVALID> wrote:

>Hello folks,
>
>I notice many services uses ${hdp.version} in their Python scripts.  I
>yet failed to locate the logic in Ambari code that shows how hdp.version
>is calculated to an exact value based on the stack.
>
>Could someone please give me some points on how hdp.version is calculated
>?
>
>Thanks.
>
>Di.


Mime
View raw message