YARN-3523. Cleanup ResourceManagerAdministrationProtocol interface audience. Contributed by Naganarasimha G R

This commit is contained in:
Junping Du 2015-05-07 05:39:04 -07:00
parent d335071398
commit 8e991f4b1d
2 changed files with 15 additions and 26 deletions

View File

@ -177,11 +177,15 @@ Release 2.8.0 - UNRELEASED
YARN-3363. add localization and container launch time to ContainerMetrics YARN-3363. add localization and container launch time to ContainerMetrics
at NM to show these timing information for each active container. at NM to show these timing information for each active container.
(zxu via rkanter) (zxu via rkanter)
YARN-3396. Handle URISyntaxException in ResourceLocalizationService. YARN-3396. Handle URISyntaxException in ResourceLocalizationService.
(Brahma Reddy Battula via junping_du) (Brahma Reddy Battula via junping_du)
YARN-3491. PublicLocalizer#addResource is too slow. (zxu via rkanter) YARN-3491. PublicLocalizer#addResource is too slow. (zxu via rkanter)
YARN-3523. Cleanup ResourceManagerAdministrationProtocol interface audience.
(Naganarasimha G R via junping_du)
OPTIMIZATIONS OPTIMIZATIONS
YARN-3339. TestDockerContainerExecutor should pull a single image and not YARN-3339. TestDockerContainerExecutor should pull a single image and not

View File

@ -21,9 +21,6 @@
import java.io.IOException; import java.io.IOException;
import org.apache.hadoop.classification.InterfaceAudience.Private; import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
import org.apache.hadoop.classification.InterfaceStability.Stable;
import org.apache.hadoop.io.retry.Idempotent; import org.apache.hadoop.io.retry.Idempotent;
import org.apache.hadoop.ipc.StandbyException; import org.apache.hadoop.ipc.StandbyException;
import org.apache.hadoop.tools.GetUserMappingsProtocol; import org.apache.hadoop.tools.GetUserMappingsProtocol;
@ -54,45 +51,38 @@
import org.apache.hadoop.yarn.server.api.protocolrecords.UpdateNodeResourceResponse; import org.apache.hadoop.yarn.server.api.protocolrecords.UpdateNodeResourceResponse;
@Private @Private
@Stable
public interface ResourceManagerAdministrationProtocol extends GetUserMappingsProtocol { public interface ResourceManagerAdministrationProtocol extends GetUserMappingsProtocol {
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request) public RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request)
throws StandbyException, YarnException, IOException; throws StandbyException, YarnException, IOException;
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshNodesResponse refreshNodes(RefreshNodesRequest request) public RefreshNodesResponse refreshNodes(RefreshNodesRequest request)
throws StandbyException, YarnException, IOException; throws StandbyException, YarnException, IOException;
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshSuperUserGroupsConfigurationResponse public RefreshSuperUserGroupsConfigurationResponse
refreshSuperUserGroupsConfiguration( refreshSuperUserGroupsConfiguration(
RefreshSuperUserGroupsConfigurationRequest request) RefreshSuperUserGroupsConfigurationRequest request)
throws StandbyException, YarnException, IOException; throws StandbyException, YarnException, IOException;
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings( public RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(
RefreshUserToGroupsMappingsRequest request) RefreshUserToGroupsMappingsRequest request)
throws StandbyException, YarnException, IOException; throws StandbyException, YarnException, IOException;
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshAdminAclsResponse refreshAdminAcls( public RefreshAdminAclsResponse refreshAdminAcls(
RefreshAdminAclsRequest request) RefreshAdminAclsRequest request)
throws YarnException, IOException; throws YarnException, IOException;
@Public @Private
@Stable
@Idempotent @Idempotent
public RefreshServiceAclsResponse refreshServiceAcls( public RefreshServiceAclsResponse refreshServiceAcls(
RefreshServiceAclsRequest request) RefreshServiceAclsRequest request)
@ -112,33 +102,28 @@ public RefreshServiceAclsResponse refreshServiceAcls(
* @throws YarnException * @throws YarnException
* @throws IOException * @throws IOException
*/ */
@Public @Private
@Evolving
@Idempotent @Idempotent
public UpdateNodeResourceResponse updateNodeResource( public UpdateNodeResourceResponse updateNodeResource(
UpdateNodeResourceRequest request) UpdateNodeResourceRequest request)
throws YarnException, IOException; throws YarnException, IOException;
@Public @Private
@Evolving
@Idempotent @Idempotent
public AddToClusterNodeLabelsResponse addToClusterNodeLabels( public AddToClusterNodeLabelsResponse addToClusterNodeLabels(
AddToClusterNodeLabelsRequest request) throws YarnException, IOException; AddToClusterNodeLabelsRequest request) throws YarnException, IOException;
@Public @Private
@Evolving
@Idempotent @Idempotent
public RemoveFromClusterNodeLabelsResponse removeFromClusterNodeLabels( public RemoveFromClusterNodeLabelsResponse removeFromClusterNodeLabels(
RemoveFromClusterNodeLabelsRequest request) throws YarnException, IOException; RemoveFromClusterNodeLabelsRequest request) throws YarnException, IOException;
@Public @Private
@Evolving
@Idempotent @Idempotent
public ReplaceLabelsOnNodeResponse replaceLabelsOnNode( public ReplaceLabelsOnNodeResponse replaceLabelsOnNode(
ReplaceLabelsOnNodeRequest request) throws YarnException, IOException; ReplaceLabelsOnNodeRequest request) throws YarnException, IOException;
@Public @Private
@Evolving
@Idempotent @Idempotent
public CheckForDecommissioningNodesResponse checkForDecommissioningNodes( public CheckForDecommissioningNodesResponse checkForDecommissioningNodes(
CheckForDecommissioningNodesRequest checkForDecommissioningNodesRequest) CheckForDecommissioningNodesRequest checkForDecommissioningNodesRequest)