public class BootStrapImpl extends Object
Constructor and Description |
---|
BootStrapImpl(Configuration conf,
AmbariMetaInfo ambariMetaInfo) |
Modifier and Type | Method and Description |
---|---|
List<BSHostStatus> |
getHostInfo(List<String> hosts) |
BootStrapStatus |
getStatus(long requestId)
Return
BootStrapStatus for a given responseId. |
void |
init() |
void |
reset() |
BSResponse |
runBootStrap(SshHostInfo info) |
@Inject public BootStrapImpl(Configuration conf, AmbariMetaInfo ambariMetaInfo) throws IOException
IOException
public BootStrapStatus getStatus(long requestId)
BootStrapStatus
for a given responseId.requestId
- the responseId for which the status needs to be returned.public void init() throws IOException
IOException
public BSResponse runBootStrap(SshHostInfo info)
public List<BSHostStatus> getHostInfo(List<String> hosts)
hosts
- public void reset()
Copyright © 2022 Apache Software Foundation. All rights reserved.