hudson.plugins.hadoop
Class ComputerListenerImpl
java.lang.Object
hudson.slaves.ComputerListener
hudson.plugins.hadoop.ComputerListenerImpl
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class ComputerListenerImpl
- extends hudson.slaves.ComputerListener
When a new computer becomes online, starts a Hadoop data node and task tracker.
This will be done on a separate JVM to allow administrators to control the JVM parameters better.
This JVM automatically kills itself when the slave JVM gets disconnected.
- Author:
- Kohsuke Kawaguchi
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Method Summary |
void |
onOnline(hudson.model.Computer c,
hudson.model.TaskListener listener)
|
Methods inherited from class hudson.slaves.ComputerListener |
all, onConfigurationChange, onLaunchFailure, onOffline, onOnline, preLaunch, preOnline, register, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComputerListenerImpl
public ComputerListenerImpl()
onOnline
public void onOnline(hudson.model.Computer c,
hudson.model.TaskListener listener)
- Overrides:
onOnline
in class hudson.slaves.ComputerListener
Copyright © 2004-2011. All Rights Reserved.