ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <>
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.
/usr/hdp/current/$component-name symlink to /usr/hdp/#.#.#.#-###/$component


On 2/29/16, 11:52 AM, "Di Li" <> 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

View raw message