|
@@ -29,6 +29,7 @@ class YarnClient(object):
|
|
|
query_str = f"{query_str}&startedTimeEnd={started_time_end}"
|
|
|
|
|
|
url = f"http://{self.cluster_ip}:8088/ws/v1/cluster/apps?{query_str}"
|
|
|
+ print(f"请求的Yarn Restful API为: {url}")
|
|
|
response = requests.get(url)
|
|
|
res = json.loads(response.text)
|
|
|
result = []
|