|
@@ -112,8 +112,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @param request request to get a new <code>ApplicationId</code>
|
|
|
* @return response containing the new <code>ApplicationId</code> to be used
|
|
|
* to submit an application
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
* @see #submitApplication(SubmitApplicationRequest)
|
|
|
*/
|
|
|
@Public
|
|
@@ -157,8 +157,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request request to submit a new application
|
|
|
* @return (empty) response on accepting the submission
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
* @see #getNewApplication(GetNewApplicationRequest)
|
|
|
*/
|
|
|
@Public
|
|
@@ -184,8 +184,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @param request request to fail an attempt
|
|
|
* @return <code>ResourceManager</code> returns an empty response
|
|
|
* on success and throws an exception on rejecting the request
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
* @see #getQueueUserAcls(GetQueueUserAclsInfoRequest)
|
|
|
*/
|
|
|
@Public
|
|
@@ -210,8 +210,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @param request request to abort a submitted application
|
|
|
* @return <code>ResourceManager</code> returns an empty response
|
|
|
* on success and throws an exception on rejecting the request
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
* @see #getQueueUserAcls(GetQueueUserAclsInfoRequest)
|
|
|
*/
|
|
|
@Public
|
|
@@ -232,8 +232,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request request for cluster metrics
|
|
|
* @return cluster metrics
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Stable
|
|
@@ -252,8 +252,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request request for report on all nodes
|
|
|
* @return report on all nodes
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Stable
|
|
@@ -274,8 +274,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request request to get queue information
|
|
|
* @return queue information
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Stable
|
|
@@ -294,8 +294,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request request to get queue acls for <em>current user</em>
|
|
|
* @return queue acls for <em>current user</em>
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Stable
|
|
@@ -309,8 +309,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request the application ID and the target queue
|
|
|
* @return an empty response
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -383,7 +383,7 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @return response the {@link ReservationId} on accepting the submission
|
|
|
* @throws YarnException if the request is invalid or reservation cannot be
|
|
|
* created successfully
|
|
|
- * @throws IOException
|
|
|
+ * @throws IOException io error occur.
|
|
|
*
|
|
|
*/
|
|
|
@Public
|
|
@@ -417,7 +417,7 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @return response empty on successfully updating the existing reservation
|
|
|
* @throws YarnException if the request is invalid or reservation cannot be
|
|
|
* updated successfully
|
|
|
- * @throws IOException
|
|
|
+ * @throws IOException io error occur.
|
|
|
*
|
|
|
*/
|
|
|
@Public
|
|
@@ -439,7 +439,7 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @return response empty on successfully deleting the existing reservation
|
|
|
* @throws YarnException if the request is invalid or reservation cannot be
|
|
|
* deleted successfully
|
|
|
- * @throws IOException
|
|
|
+ * @throws IOException io error occur.
|
|
|
*
|
|
|
*/
|
|
|
@Public
|
|
@@ -494,13 +494,13 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
|
- * The interface used by client to get node to labels mappings in existing cluster
|
|
|
+ * The interface used by client to get node to labels mappings in existing cluster.
|
|
|
* </p>
|
|
|
*
|
|
|
- * @param request
|
|
|
+ * @param request get node to labels request.
|
|
|
* @return node to labels mappings
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -510,13 +510,13 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
/**
|
|
|
* <p>
|
|
|
* The interface used by client to get labels to nodes mappings
|
|
|
- * in existing cluster
|
|
|
+ * in existing cluster.
|
|
|
* </p>
|
|
|
*
|
|
|
- * @param request
|
|
|
+ * @param request get label to nodes request.
|
|
|
* @return labels to nodes mappings
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -530,8 +530,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
*
|
|
|
* @param request to get node labels collection of this cluster
|
|
|
* @return node labels collection of this cluster
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -544,8 +544,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* </p>
|
|
|
* @param request to set priority of an application
|
|
|
* @return an empty response
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -573,8 +573,8 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @param request request to signal a container
|
|
|
* @return <code>ResourceManager</code> returns an empty response
|
|
|
* on success and throws an exception on rejecting the request
|
|
|
- * @throws YarnException
|
|
|
- * @throws IOException
|
|
|
+ * @throws YarnException exceptions from yarn servers.
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|
|
@@ -691,7 +691,7 @@ public interface ApplicationClientProtocol extends ApplicationBaseProtocol {
|
|
|
* @param request request to get nodes to attributes mapping.
|
|
|
* @return nodes to attributes mappings.
|
|
|
* @throws YarnException if any error happens inside YARN.
|
|
|
- * @throws IOException
|
|
|
+ * @throws IOException io error occur.
|
|
|
*/
|
|
|
@Public
|
|
|
@Unstable
|