Interface and Description |
---|
org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.CallbackHandler
Use
AMRMClientAsync.AbstractCallbackHandler instead. |
org.apache.hadoop.yarn.client.api.async.NMClientAsync.CallbackHandler
Use
NMClientAsync.AbstractCallbackHandler instead.
The callback interface needs to be implemented by Once a callback happens, the users can chose to act on it in blocking or non-blocking manner. If the action on callback is done in a blocking manner, some of the threads performing requests on NodeManagers may get blocked depending on how many threads in the pool are busy.
The implementation of the callback function should not throw the
unexpected exception. Otherwise, |
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.