But i find some python script use "/usr/hdp" as hard code, is there a plan to
make it synchronize with stack_root val?

----- Original Message -----
From: "Di Li" <osji...@gmail.com>
To: dev@ambari.apache.org
Sent: Thursday, March 22, 2018 9:19:33 PM
Subject: Re: why stack_root does not exist

It doesn't create that directory, as ambari does not know what could be
used. The service RPMs create directories upon installation and Ambari
reads its content. That's about it.

On Wed, Mar 21, 2018 at 10:11 PM, <xiang....@sky-data.cn> wrote:

> HI!
>
> I define a new stack called DX and change the stack_root to {DX: /usr/dx}
> in the cluster_env.xml, the old is {HDP: /usr/hdp}.
>
> But when i start install, i find below error:
>
> WARNING 2018-03-22 10:05:49,709 base_alert.py:138 -
> [Alert][ambari_agent_disk_usage] Unable to execute alert. [Errno 2] No
> such file or directory: '/usr/dx'
>
> Does it mean ambari can not auto mkdir this one?
>
> If i miss something important, please tell me.
>
> Best Wishes
>

Reply via email to