public class FakeMaster extends java.lang.Object implements MasterProxyIF
| Constructor and Description |
|---|
FakeMaster() |
| Modifier and Type | Method and Description |
|---|---|
ClientVmRecord |
bounceUnitTestVm(int pid)
For internal hydra use only.
|
void |
configureNetworkConnection(java.lang.String source,
java.lang.String target,
int op,
int way)
For internal hydra use only.
|
java.util.List<java.util.List<java.lang.String>> |
getClientMapping()
Called remotely by client processes to get the client mapping as a list
of lists, where each sublist is the threadgroup plus the thread name.
|
java.util.Vector |
getClientVmids()
For internal hydra use only.
|
java.util.Map |
getClientVms()
For internal hydra use only.
|
DerbyServerHelper.Endpoint |
getDerbyServerEndpoint()
For internal hydra use only.
|
java.lang.Object |
getGlobalNext(java.lang.Long key)
For internal hydra use only.
|
HostAgentIF |
getHostAgent(java.lang.String host)
For internal hydra use only.
|
TestConfig |
getHostAgentTestConfig() |
int |
getJMXAgentRmiPort(java.lang.String name) |
int |
getMulticastPort() |
java.util.Map |
getNetworkConnectionState()
For internal hydra use only.
|
java.util.Vector |
getOtherClientVmids(int vmid)
For internal hydra use only.
|
int |
getPid(int vmid)
For internal hydra use only.
|
TestConfig |
getTestConfig() |
java.lang.Integer |
getVmid(java.lang.String host,
int pid)
Called remotely by client processes to get the VM ID corresponding to host
and PID.
|
void |
invoke(java.lang.String classname,
java.lang.String methodname,
java.lang.Class[] types,
java.lang.Object[] args) |
void |
lockToSynchronizeJavaGroupsForBug30341()
Workaround for bug 30341.
|
void |
printClientProcessStacks() |
void |
reboot(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
RebootInfo target)
For internal hydra use only.
|
void |
recordAgent(AgentHelper.Endpoint endpoint) |
void |
recordDir(HostDescription hd,
java.lang.String name,
java.lang.String dir) |
void |
recordHadoop(HadoopDescription hdd,
HadoopDescription.NodeDescription nd,
int pid,
boolean secure) |
void |
recordHDFSPIDNoDumps(HostDescription hd,
int pid,
boolean secure) |
void |
recordLocator(DistributedSystemHelper.Endpoint endpoint)
For internal hydra use only.
|
void |
recordPID(HostDescription hd,
int pid) |
void |
recordPIDNoDumps(HostDescription hd,
int pid) |
void |
recordRootCommand(HostDescription hd,
java.lang.String cmd,
java.lang.String dir) |
HydraThreadGroupInfo |
registerClient(int vmid,
int tid,
RemoteTestModuleIF mod)
For internal hydra use only.
|
void |
registerClientDisconnect(int vmid)
For internal hydra use only.
|
void |
registerGemFireLocatorAgent(GemFireLocatorAgentRecord lar)
For internal hydra use only.
|
void |
registerHostAgent(HostAgentRecord har)
For internal hydra use only.
|
void |
removeDir(HostDescription hd,
java.lang.String dir) |
void |
removeHadoop(HadoopDescription hdd,
HadoopDescription.NodeDescription nd,
int pid,
boolean secure) |
void |
removeHDFSPIDNoDumps(HostDescription hd,
int pid,
boolean secure) |
void |
removePID(HostDescription hd,
int pid) |
void |
removePIDNoDumps(HostDescription hd,
int pid) |
void |
reportResult(int tsid,
int vmid,
int tid,
TestTaskResult result)
For internal hydra use only.
|
void |
reportStatMonitorError(java.lang.Throwable t)
For internal hydra use only.
|
ClientVmInfo |
reserveClientVmForStart(java.lang.String srcName,
int srcVmid,
ClientVmInfo target)
For internal hydra use only.
|
ClientVmInfo |
reserveClientVmForStop(java.lang.String srcName,
int srcVmid,
int syncMode,
int stopMode,
ClientVmInfo target)
For internal hydra use only.
|
RebootInfo |
reserveForReboot(java.lang.String srcName,
int srcVmid,
java.lang.String target,
boolean liveOnly)
For internal hydra use only.
|
boolean |
reservePort(java.lang.String host,
int port)
For internal hydra use only.
|
void |
showNetworkConnectionState()
For internal hydra use only.
|
void |
startClientVm(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
int syncMode,
ClientVmInfo target)
For internal hydra use only.
|
void |
stopClientVm(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
int syncMode,
int stopMode,
int startMode,
ClientVmInfo target)
For internal hydra use only.
|
void |
unlockToSynchronizeJavaGroupsForBug30341() |
public ClientVmRecord bounceUnitTestVm(int pid) throws java.rmi.RemoteException
MasterProxyIFbounceUnitTestVm in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void configureNetworkConnection(java.lang.String source,
java.lang.String target,
int op,
int way)
throws java.rmi.RemoteException
MasterProxyIFconfigureNetworkConnection in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.util.Vector getClientVmids()
throws java.rmi.RemoteException
MasterProxyIFgetClientVmids in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.util.Map getClientVms()
throws java.rmi.RemoteException
MasterProxyIFgetClientVms in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.util.List<java.util.List<java.lang.String>> getClientMapping()
throws java.rmi.RemoteException
MasterProxyIFgetClientMapping in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.lang.Object getGlobalNext(java.lang.Long key)
throws java.rmi.RemoteException
MasterProxyIFgetGlobalNext in interface MasterProxyIFjava.rmi.RemoteExceptionpublic boolean reservePort(java.lang.String host,
int port)
throws java.rmi.RemoteException
MasterProxyIFreservePort in interface MasterProxyIFjava.rmi.RemoteExceptionpublic int getJMXAgentRmiPort(java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic int getMulticastPort()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.util.Map getNetworkConnectionState()
throws java.rmi.RemoteException
MasterProxyIFgetNetworkConnectionState in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.util.Vector getOtherClientVmids(int vmid)
throws java.rmi.RemoteException
MasterProxyIFgetOtherClientVmids in interface MasterProxyIFjava.rmi.RemoteExceptionpublic RebootInfo reserveForReboot(java.lang.String srcName, int srcVmid, java.lang.String target, boolean liveOnly) throws java.rmi.RemoteException, RebootHostNotFoundException
MasterProxyIFreserveForReboot in interface MasterProxyIFjava.rmi.RemoteExceptionRebootHostNotFoundExceptionpublic void reboot(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
RebootInfo target)
throws java.rmi.RemoteException
MasterProxyIFreboot in interface MasterProxyIFjava.rmi.RemoteExceptionpublic int getPid(int vmid)
throws java.rmi.RemoteException
MasterProxyIFgetPid in interface MasterProxyIFjava.rmi.RemoteExceptionpublic TestConfig getTestConfig() throws java.rmi.RemoteException
getTestConfig in interface MasterProxyIFjava.rmi.RemoteExceptionpublic TestConfig getHostAgentTestConfig() throws java.rmi.RemoteException
getHostAgentTestConfig in interface MasterProxyIFjava.rmi.RemoteExceptionpublic java.lang.Integer getVmid(java.lang.String host,
int pid)
throws java.rmi.RemoteException
MasterProxyIFIf host is an IPv6 host name, hydra attempts to match it to the IPv4 host name known by hydra. This only succeeds if the IPv6 host name is the same as the IPv4 host name with the suffix "6". If you are running on an IPv6 host for which this is not the case, ask I.S. to configure the host so that it is.
getVmid in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void invoke(java.lang.String classname,
java.lang.String methodname,
java.lang.Class[] types,
java.lang.Object[] args)
throws java.rmi.RemoteException
invoke in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void lockToSynchronizeJavaGroupsForBug30341()
throws java.rmi.RemoteException
MasterProxyIFlockToSynchronizeJavaGroupsForBug30341 in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void printClientProcessStacks()
throws java.rmi.RemoteException
printClientProcessStacks in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordDir(HostDescription hd, java.lang.String name, java.lang.String dir) throws java.rmi.RemoteException
recordDir in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordPID(HostDescription hd, int pid) throws java.rmi.RemoteException
recordPID in interface MasterProxyIFjava.rmi.RemoteExceptionpublic HydraThreadGroupInfo registerClient(int vmid, int tid, RemoteTestModuleIF mod) throws java.rmi.RemoteException
MasterProxyIFregisterClient in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void registerClientDisconnect(int vmid)
throws java.rmi.RemoteException
MasterProxyIFregisterClientDisconnect in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void registerGemFireLocatorAgent(GemFireLocatorAgentRecord lar) throws java.rmi.RemoteException
MasterProxyIFregisterGemFireLocatorAgent in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void registerHostAgent(HostAgentRecord har) throws java.rmi.RemoteException
MasterProxyIFregisterHostAgent in interface MasterProxyIFjava.rmi.RemoteExceptionpublic HostAgentIF getHostAgent(java.lang.String host) throws java.rmi.RemoteException
MasterProxyIFgetHostAgent in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void removeDir(HostDescription hd, java.lang.String dir) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void removePID(HostDescription hd, int pid) throws java.rmi.RemoteException
removePID in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordHadoop(HadoopDescription hdd, HadoopDescription.NodeDescription nd, int pid, boolean secure) throws java.rmi.RemoteException
recordHadoop in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void removeHadoop(HadoopDescription hdd, HadoopDescription.NodeDescription nd, int pid, boolean secure) throws java.rmi.RemoteException
removeHadoop in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void reportResult(int tsid,
int vmid,
int tid,
TestTaskResult result)
throws java.rmi.RemoteException
MasterProxyIFreportResult in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void reportStatMonitorError(java.lang.Throwable t)
throws java.rmi.RemoteException
MasterProxyIFreportStatMonitorError in interface MasterProxyIFjava.rmi.RemoteExceptionpublic ClientVmInfo reserveClientVmForStart(java.lang.String srcName, int srcVmid, ClientVmInfo target) throws java.rmi.RemoteException, ClientVmNotFoundException
MasterProxyIFreserveClientVmForStart in interface MasterProxyIFjava.rmi.RemoteExceptionClientVmNotFoundExceptionpublic ClientVmInfo reserveClientVmForStop(java.lang.String srcName, int srcVmid, int syncMode, int stopMode, ClientVmInfo target) throws java.rmi.RemoteException, ClientVmNotFoundException
MasterProxyIFreserveClientVmForStop in interface MasterProxyIFjava.rmi.RemoteExceptionClientVmNotFoundExceptionpublic void showNetworkConnectionState()
throws java.rmi.RemoteException
MasterProxyIFshowNetworkConnectionState in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void startClientVm(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
int syncMode,
ClientVmInfo target)
throws java.rmi.RemoteException
MasterProxyIFstartClientVm in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void stopClientVm(java.lang.String srcName,
int srcVmid,
int actionId,
java.lang.String reason,
int syncMode,
int stopMode,
int startMode,
ClientVmInfo target)
throws java.rmi.RemoteException
MasterProxyIFstopClientVm in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void unlockToSynchronizeJavaGroupsForBug30341()
throws java.rmi.RemoteException
unlockToSynchronizeJavaGroupsForBug30341 in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordAgent(AgentHelper.Endpoint endpoint) throws java.rmi.RemoteException
recordAgent in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordLocator(DistributedSystemHelper.Endpoint endpoint) throws java.rmi.RemoteException
MasterProxyIFrecordLocator in interface MasterProxyIFjava.rmi.RemoteExceptionpublic DerbyServerHelper.Endpoint getDerbyServerEndpoint() throws java.rmi.RemoteException
MasterProxyIFgetDerbyServerEndpoint in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordPIDNoDumps(HostDescription hd, int pid) throws java.rmi.RemoteException
recordPIDNoDumps in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordHDFSPIDNoDumps(HostDescription hd, int pid, boolean secure) throws java.rmi.RemoteException
recordHDFSPIDNoDumps in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void removePIDNoDumps(HostDescription hd, int pid) throws java.rmi.RemoteException
removePIDNoDumps in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void removeHDFSPIDNoDumps(HostDescription hd, int pid, boolean secure) throws java.rmi.RemoteException
removeHDFSPIDNoDumps in interface MasterProxyIFjava.rmi.RemoteExceptionpublic void recordRootCommand(HostDescription hd, java.lang.String cmd, java.lang.String dir) throws java.rmi.RemoteException
recordRootCommand in interface MasterProxyIFjava.rmi.RemoteExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.