YARN-11307. Fix Yarn Router Broken Link. (#4905)
This commit is contained in:
parent
4d9bb81b16
commit
4c5a7cc6fc
@ -78,6 +78,7 @@
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Set;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.CompletionService;
|
import java.util.concurrent.CompletionService;
|
||||||
import java.util.concurrent.ExecutorCompletionService;
|
import java.util.concurrent.ExecutorCompletionService;
|
||||||
@ -493,7 +494,7 @@ public void testNodeXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateNodeResources()} inside Router.
|
* {@link RMWebServiceProtocol#updateNodeResource} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testUpdateNodeResource() throws Exception {
|
public void testUpdateNodeResource() throws Exception {
|
||||||
@ -552,7 +553,7 @@ public void testActiviesXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppActivities()} inside Router.
|
* {@link RMWebServiceProtocol#getAppActivities} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppActivitiesXML() throws Exception {
|
public void testAppActivitiesXML() throws Exception {
|
||||||
@ -572,7 +573,7 @@ public void testAppActivitiesXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppStatistics()} inside Router.
|
* {@link RMWebServiceProtocol#getAppStatistics} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppStatisticsXML() throws Exception {
|
public void testAppStatisticsXML() throws Exception {
|
||||||
@ -596,7 +597,7 @@ public void testAppStatisticsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#dumpSchedulerLogs()} inside Router.
|
* {@link RMWebServiceProtocol#dumpSchedulerLogs} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testDumpSchedulerLogsXML() throws Exception {
|
public void testDumpSchedulerLogsXML() throws Exception {
|
||||||
@ -619,7 +620,7 @@ public void testDumpSchedulerLogsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#createNewApplication()} inside Router.
|
* {@link RMWebServiceProtocol#createNewApplication} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testNewApplicationXML() throws Exception {
|
public void testNewApplicationXML() throws Exception {
|
||||||
@ -643,7 +644,7 @@ public void testNewApplicationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#submitApplication()} inside Router.
|
* {@link RMWebServiceProtocol#submitApplication} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testSubmitApplicationXML() throws Exception {
|
public void testSubmitApplicationXML() throws Exception {
|
||||||
@ -669,7 +670,7 @@ public void testSubmitApplicationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getApps()} inside Router.
|
* {@link RMWebServiceProtocol#getApps} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppsXML() throws Exception {
|
public void testAppsXML() throws Exception {
|
||||||
@ -692,7 +693,7 @@ public void testAppsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getApp()} inside Router.
|
* {@link RMWebServiceProtocol#getApp} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppXML() throws Exception {
|
public void testAppXML() throws Exception {
|
||||||
@ -716,7 +717,7 @@ public void testAppXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppAttempts()} inside Router.
|
* {@link RMWebServiceProtocol#getAppAttempts} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppAttemptXML() throws Exception {
|
public void testAppAttemptXML() throws Exception {
|
||||||
@ -740,7 +741,7 @@ public void testAppAttemptXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppState()} inside Router.
|
* {@link RMWebServiceProtocol#getAppState} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppStateXML() throws Exception {
|
public void testAppStateXML() throws Exception {
|
||||||
@ -764,7 +765,7 @@ public void testAppStateXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateAppState()} inside Router.
|
* {@link RMWebServiceProtocol#updateAppState} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testUpdateAppStateXML() throws Exception {
|
public void testUpdateAppStateXML() throws Exception {
|
||||||
@ -792,7 +793,7 @@ public void testUpdateAppStateXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppPriority()} inside Router.
|
* {@link RMWebServiceProtocol#getAppPriority} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppPriorityXML() throws Exception {
|
public void testAppPriorityXML() throws Exception {
|
||||||
@ -814,7 +815,8 @@ public void testAppPriorityXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateApplicationPriority()} inside Router.
|
* {@link RMWebServiceProtocol#updateApplicationPriority(
|
||||||
|
* AppPriority, HttpServletRequest, String)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testUpdateAppPriorityXML() throws Exception {
|
public void testUpdateAppPriorityXML() throws Exception {
|
||||||
@ -842,7 +844,7 @@ public void testUpdateAppPriorityXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppQueue()} inside Router.
|
* {@link RMWebServiceProtocol#getAppQueue(HttpServletRequest, String)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppQueueXML() throws Exception {
|
public void testAppQueueXML() throws Exception {
|
||||||
@ -864,7 +866,8 @@ public void testAppQueueXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateAppQueue()} inside Router.
|
* {@link RMWebServiceProtocol#updateAppQueue(AppQueue, HttpServletRequest, String)}
|
||||||
|
* inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testUpdateAppQueueXML() throws Exception {
|
public void testUpdateAppQueueXML() throws Exception {
|
||||||
@ -892,7 +895,7 @@ public void testUpdateAppQueueXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppTimeouts()} inside Router.
|
* {@link RMWebServiceProtocol#getAppTimeouts} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppTimeoutsXML() throws Exception {
|
public void testAppTimeoutsXML() throws Exception {
|
||||||
@ -916,7 +919,7 @@ public void testAppTimeoutsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getAppTimeout()} inside Router.
|
* {@link RMWebServiceProtocol#getAppTimeout} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAppTimeoutXML() throws Exception {
|
public void testAppTimeoutXML() throws Exception {
|
||||||
@ -939,7 +942,8 @@ public void testAppTimeoutXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateApplicationTimeout()} inside Router.
|
* {@link RMWebServiceProtocol#updateApplicationTimeout}
|
||||||
|
* inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testUpdateAppTimeoutsXML() throws Exception {
|
public void testUpdateAppTimeoutsXML() throws Exception {
|
||||||
@ -967,7 +971,7 @@ public void testUpdateAppTimeoutsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#createNewReservation()} inside Router.
|
* {@link RMWebServiceProtocol#createNewReservation(HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testNewReservationXML() throws Exception {
|
public void testNewReservationXML() throws Exception {
|
||||||
@ -991,7 +995,8 @@ public void testNewReservationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#submitReservation()} inside Router.
|
* {@link RMWebServiceProtocol#submitReservation(
|
||||||
|
* ReservationSubmissionRequestInfo, HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testSubmitReservationXML() throws Exception {
|
public void testSubmitReservationXML() throws Exception {
|
||||||
@ -1019,7 +1024,8 @@ public void testSubmitReservationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#updateReservation()} inside Router.
|
* {@link RMWebServiceProtocol#updateReservation(
|
||||||
|
* ReservationUpdateRequestInfo, HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testUpdateReservationXML() throws Exception {
|
public void testUpdateReservationXML() throws Exception {
|
||||||
@ -1045,7 +1051,8 @@ public void testUpdateReservationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#deleteReservation()} inside Router.
|
* {@link RMWebServiceProtocol#deleteReservation(
|
||||||
|
* ReservationDeleteRequestInfo, HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testDeleteReservationXML() throws Exception {
|
public void testDeleteReservationXML() throws Exception {
|
||||||
@ -1071,7 +1078,7 @@ public void testDeleteReservationXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getNodeToLabels()} inside Router.
|
* {@link RMWebServiceProtocol#getNodeToLabels(HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testGetNodeToLabelsXML() throws Exception {
|
public void testGetNodeToLabelsXML() throws Exception {
|
||||||
@ -1093,7 +1100,7 @@ public void testGetNodeToLabelsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getClusterNodeLabels()} inside Router.
|
* {@link RMWebServiceProtocol#getClusterNodeLabels(HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testGetClusterNodeLabelsXML() throws Exception {
|
public void testGetClusterNodeLabelsXML() throws Exception {
|
||||||
@ -1115,7 +1122,7 @@ public void testGetClusterNodeLabelsXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getLabelsOnNode()} inside Router.
|
* {@link RMWebServiceProtocol#getLabelsOnNode(HttpServletRequest, String)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testGetLabelsOnNodeXML() throws Exception {
|
public void testGetLabelsOnNodeXML() throws Exception {
|
||||||
@ -1137,7 +1144,7 @@ public void testGetLabelsOnNodeXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getLabelsToNodes()} inside Router.
|
* {@link RMWebServiceProtocol#getLabelsToNodes(Set<String>)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testGetLabelsMappingEmptyXML() throws Exception {
|
public void testGetLabelsMappingEmptyXML() throws Exception {
|
||||||
@ -1159,7 +1166,7 @@ public void testGetLabelsMappingEmptyXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#getLabelsToNodes()} inside Router.
|
* {@link RMWebServiceProtocol#getLabelsToNodes(Set<String>)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testGetLabelsMappingXML() throws Exception {
|
public void testGetLabelsMappingXML() throws Exception {
|
||||||
@ -1181,7 +1188,8 @@ public void testGetLabelsMappingXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#addToClusterNodeLabels()} inside Router.
|
* {@link RMWebServiceProtocol#addToClusterNodeLabels(
|
||||||
|
* NodeLabelsInfo, HttpServletRequest)} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testAddToClusterNodeLabelsXML() throws Exception {
|
public void testAddToClusterNodeLabelsXML() throws Exception {
|
||||||
@ -1235,7 +1243,7 @@ public void testRemoveFromClusterNodeLabelsXML()
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#replaceLabelsOnNodes()} inside Router.
|
* {@link RMWebServiceProtocol#replaceLabelsOnNodes} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testReplaceLabelsOnNodesXML() throws Exception {
|
public void testReplaceLabelsOnNodesXML() throws Exception {
|
||||||
@ -1262,7 +1270,7 @@ public void testReplaceLabelsOnNodesXML() throws Exception {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This test validates the correctness of
|
* This test validates the correctness of
|
||||||
* {@link RMWebServiceProtocol#replaceLabelsOnNode()} inside Router.
|
* {@link RMWebServiceProtocol#replaceLabelsOnNode} inside Router.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 2000)
|
@Test(timeout = 2000)
|
||||||
public void testReplaceLabelsOnNodeXML() throws Exception {
|
public void testReplaceLabelsOnNodeXML() throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user