@@ -63,12 +63,12 @@ class ResourceManager(BaseYarnAPI):
63
63
be used.
64
64
65
65
:param List[str] service_endpoints: List of ResourceManager HTTP(S)
66
- addresses
66
+ addresses
67
67
:param int timeout: API connection timeout in seconds
68
68
:param AuthBase auth: Auth to use for requests configurations
69
69
:param boolean verify: Either a boolean, in which case it controls whether
70
- we verify the server's TLS certificate, or a string, in which case it must
71
- be a path to a CA bundle to use. Defaults to ``True``
70
+ we verify the server's TLS certificate, or a string, in which case it must
71
+ be a path to a CA bundle to use. Defaults to ``True``
72
72
"""
73
73
def __init__ (self , service_endpoints = None , timeout = 30 , auth = None , verify = True ):
74
74
active_service_endpoint = None
@@ -305,8 +305,8 @@ def cluster_application_attempt_container_info(self, application_id, attempt_id,
305
305
306
306
def cluster_application_state (self , application_id ):
307
307
"""
308
- * This feature is currently in the alpha stage and may change in the
309
- future *
308
+ ( This feature is currently in the alpha stage and may change in the
309
+ future)
310
310
311
311
With the application state API, you can obtain the current
312
312
state of an application.
@@ -322,8 +322,8 @@ def cluster_application_state(self, application_id):
322
322
323
323
def cluster_application_kill (self , application_id ):
324
324
"""
325
- * This feature is currently in the alpha stage and may change in the
326
- future *
325
+ ( This feature is currently in the alpha stage and may change in the
326
+ future)
327
327
328
328
With the application kill API, you can kill an application
329
329
that is not in FINISHED or FAILED state.
@@ -377,8 +377,8 @@ def cluster_node(self, node_id):
377
377
378
378
def cluster_submit_application (self , data ):
379
379
"""
380
- * This feature is currently in the alpha stage and may change in the
381
- future *
380
+ ( This feature is currently in the alpha stage and may change in the
381
+ future)
382
382
383
383
With the New Application API, you can obtain an application-id which
384
384
can then be used as part of the Cluster Submit Applications API to
@@ -398,8 +398,8 @@ def cluster_submit_application(self, data):
398
398
399
399
def cluster_new_application (self ):
400
400
"""
401
- * This feature is currently in the alpha stage and may change in the
402
- future *
401
+ ( This feature is currently in the alpha stage and may change in the
402
+ future)
403
403
404
404
With the New Application API, you can obtain an application-id which
405
405
can then be used as part of the Cluster Submit Applications API to
@@ -415,8 +415,8 @@ def cluster_new_application(self):
415
415
416
416
def cluster_get_application_queue (self , application_id ):
417
417
"""
418
- * This feature is currently in the alpha stage and may change in the
419
- future *
418
+ ( This feature is currently in the alpha stage and may change in the
419
+ future)
420
420
421
421
With the application queue API, you can query the queue of a
422
422
submitted app
@@ -431,8 +431,8 @@ def cluster_get_application_queue(self, application_id):
431
431
432
432
def cluster_change_application_queue (self , application_id , queue ):
433
433
"""
434
- * This feature is currently in the alpha stage and may change in the
435
- future *
434
+ ( This feature is currently in the alpha stage and may change in the
435
+ future)
436
436
437
437
Move a running app to another queue using a PUT request specifying the
438
438
target queue.
@@ -458,8 +458,8 @@ def cluster_change_application_queue(self, application_id, queue):
458
458
459
459
def cluster_get_application_priority (self , application_id ):
460
460
"""
461
- * This feature is currently in the alpha stage and may change in the
462
- future *
461
+ ( This feature is currently in the alpha stage and may change in the
462
+ future)
463
463
464
464
With the application priority API, you can query the priority of a
465
465
submitted app
@@ -474,8 +474,8 @@ def cluster_get_application_priority(self, application_id):
474
474
475
475
def cluster_change_application_priority (self , application_id , priority ):
476
476
"""
477
- * This feature is currently in the alpha stage and may change in the
478
- future *
477
+ ( This feature is currently in the alpha stage and may change in the
478
+ future)
479
479
480
480
Update priority of a running or accepted app using a PUT request
481
481
specifying the target priority.
@@ -584,7 +584,7 @@ def cluster_reservations(self, queue=None, reservation_id=None,
584
584
unspecified or invalid, this will default to 0.
585
585
:param str end_time: reservations that start after this end-time will be listed. If
586
586
unspecified or invalid, this will default to Long.MaxValue.
587
- :param str include_resource_allocations : true or false. If true, the resource allocations
587
+ :param str include_resource_allocations: true or false. If true, the resource allocations
588
588
of the reservation will be included in the response. If false, no resource allocations
589
589
will be included in the response. This will default to false.
590
590
:returns: API response object with JSON data
@@ -606,8 +606,8 @@ def cluster_reservations(self, queue=None, reservation_id=None,
606
606
607
607
def cluster_new_delegation_token (self , renewer ):
608
608
"""
609
- * This feature is currently in the alpha stage and may change in the
610
- future *
609
+ ( This feature is currently in the alpha stage and may change in the
610
+ future)
611
611
612
612
API to create delegation token.
613
613
@@ -627,8 +627,8 @@ def cluster_new_delegation_token(self, renewer):
627
627
628
628
def cluster_renew_delegation_token (self , delegation_token ):
629
629
"""
630
- * This feature is currently in the alpha stage and may change in the
631
- future *
630
+ ( This feature is currently in the alpha stage and may change in the
631
+ future)
632
632
633
633
API to renew delegation token.
634
634
@@ -650,8 +650,8 @@ def cluster_renew_delegation_token(self, delegation_token):
650
650
651
651
def cluster_cancel_delegation_token (self , delegation_token ):
652
652
"""
653
- * This feature is currently in the alpha stage and may change in the
654
- future *
653
+ ( This feature is currently in the alpha stage and may change in the
654
+ future)
655
655
656
656
API to cancel delegation token.
657
657
@@ -671,8 +671,8 @@ def cluster_cancel_delegation_token(self, delegation_token):
671
671
672
672
def cluster_new_reservation (self ):
673
673
"""
674
- * This feature is currently in the alpha stage and may change in the
675
- future *
674
+ ( This feature is currently in the alpha stage and may change in the
675
+ future)
676
676
677
677
Use the New Reservation API, to obtain a reservation-id which can then be used as part of
678
678
the Cluster Reservation API Submit to submit reservations.
@@ -764,7 +764,7 @@ def cluster_application_timeout(self, application_id, timeout_type):
764
764
The Cluster Application Timeout resource contains information about timeout.
765
765
766
766
:param str application_id: The application id
767
- :param str timeout_type:Timeout type. Valid values are the members of the
767
+ :param str timeout_type: Timeout type. Valid values are the members of the
768
768
ApplicationTimeoutType enum. LIFETIME is currently the only valid value. .
769
769
:returns: API response object with JSON data
770
770
:rtype: :py:class:`yarn_api_client.base.Response`
@@ -794,8 +794,8 @@ def cluster_update_application_timeout(self, application_id, timeout_type, expir
794
794
795
795
def cluster_scheduler_conf_mutation (self ):
796
796
"""
797
- * This feature is currently in the alpha stage and may change in the
798
- future *
797
+ ( This feature is currently in the alpha stage and may change in the
798
+ future)
799
799
800
800
API to retrieve the scheduler’s configuration that is currently loaded into
801
801
scheduler’s context.
@@ -809,8 +809,8 @@ def cluster_scheduler_conf_mutation(self):
809
809
810
810
def cluster_modify_scheduler_conf_mutation (self , data ):
811
811
"""
812
- * This feature is currently in the alpha stage and may change in the
813
- future *
812
+ ( This feature is currently in the alpha stage and may change in the
813
+ future)
814
814
815
815
API to modify the scheduler configuration
816
816
0 commit comments