ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <afernan...@hortonworks.com>
Subject Re: Add host using REST API
Date Tue, 21 Jun 2016 16:37:03 GMT
Hi Amruta,

If the agent is still heartbeating, it will reinsert itself into the hosts
and hoststate tables.
Deleting a host does remove it from those, plus a handful of other tables
like clusterhostmapping.

Thanks,
Alejandro

On 6/20/16, 9:58 AM, "Amruta Borkar" <amruta.b161@gmail.com> wrote:

>Hello,
>
>I am trying to add and then delete a host using REST API in Ambari .
>During
>add host, new host related entries are added to topology related tables,
>those are not deleted after calling the DELETE API to delete the same
>host.
>Is this the expected behavior ? Can someone explain why entries are not
>deleted from database?
>
>Thank you,
>Amruta


Mime
View raw message