incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PC Liao ( peicheng ) " <peiche...@gmail.com>
Subject Re: remove hosts ?
Date Thu, 04 Apr 2013 16:28:34 GMT
Hi Mahadev,

Sure,
I am very happy to heard that.
Maybe I can follow more jira  specific implementations steps .
(jira username peicheng)


PC Liao ( @peicheng )

2013/4/4 Mahadev Konar <mahadev@apache.org>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message