incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@apache.org>
Subject Re: remove hosts ?
Date Wed, 03 Apr 2013 20:12:37 GMT
Hi PC,

Here is the jira for deleting a host:
https://issues.apache.org/jira/browse/AMBARI-1777

 We can definitely guide you through the process nad help you out.
Feel free to take that up.

thanks
mahadev


On Tue, Apr 2, 2013 at 9:04 PM, PC Liao ( peicheng )
<peicheng5@gmail.com> wrote:
> Hi Yusaku ,
>
> Thanks for the detailed reply.
>
> I am very  interested in the feature .
> I hope I can contribute to the project when I figure out the code details.
>
>
> 2013/4/2 Yusaku Sako <yusaku@hortonworks.com>
>
>> Hi Peicheng,
>>
>> "deleteComponents" is for removing components from existing services, so
>> it's not really related to removing a host.
>> For removing hosts, you are looking at the ability to remove "host
>> components".
>> A host component is a service component assigned to a specific host (e.g.,
>> DataNode on host A).
>> Removing host components has been implemented in trunk
>>
>> (org.apache.ambari.server.controller.AmbariManagementControllerImpl::deleteHostComponents).
>>
>> Once all host components are removed, deleteHosts would be used to delete
>> the hosts from a cluster (or perhaps deleteHosts can do a cascade delete of
>> all existing host components on specified hosts).
>>
>> As you pointed out, deleteHosts method has not been implemented.
>> Would you be interested in implementing that feature?
>>
>> > Yusaku
>>
>> On Mon, Apr 1, 2013 at 8:10 PM, PC Liao ( peicheng ) <peicheng5@gmail.com
>> >wrote:
>>
>> > hi all,
>> >
>> > I try to find the deleteComponents and deleteHosts feature ,but that is
>> not
>> > supported.
>> > Docs any plan for these feature
>> > and**  implementation guideline?
>> >
>> > from
>> > ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/
>> > AmbariManagementControllerImpl.java
>> >  @Override
>> >   public RequestStatusResponse deleteComponents(
>> >       Set<ServiceComponentRequest> request) throws AmbariException {
>> >     throw new AmbariException("Delete components not supported");
>> >   }
>> >
>> >   @Override
>> >   public void deleteHosts(Set<HostRequest> request)
>> >       throws AmbariException {
>> >     throw new AmbariException("Delete hosts not supported");
>> >   }
>> >
>>
>
>
>
> --
> PC Liao ( @peicheng )

Mime
View raw message