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 <[email protected]> > 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 ) > <[email protected]> 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 <[email protected]> > > > >> 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 ) < > [email protected] > >> >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 ) >
