Adas Kavaliauskas
04/04/2024, 3:22 PMadaskavaliauskas@Adass-MBP ~ % aws ecs execute-command --profile=cv-staging --cluster arn:aws:ecs:eu-central-1:623707875154:cluster/confluent-apps-cluster-staging --task arn:aws:ecs:eu-central-1:623707875154:task/confluent-apps-cluster-staging/a86bc8af2b8f418fbb1f5f60944e685e --container taskmanager --command "/bin/bash" --interactive
The Session Manager plugin was installed successfully. Use the AWS CLI to start a session.
Starting session with SessionId: ecs-execute-command-08fedd93c0f48015c
root@ip-172-31-103-141:/app# nc -vz localhost 8081
localhost [127.0.0.1] 8081 (tproxy) open
root@ip-172-31-103-141:/app# nc -vz localhost 6123
localhost [127.0.0.1] 6123 (?) open
root@ip-172-31-103-141:/app# nc -vz 127.0.0.1 8081
localhost [127.0.0.1] 8081 (tproxy) open
root@ip-172-31-103-141:/app# nc -vz 127.0.0.1 6123
localhost [127.0.0.1] 6123 (?) open
root@ip-172-31-103-141:/app# nc -vz 127.0.0.2 6123
Warning: forward host lookup failed for ip-127-0-0-2.eu-central-1.compute.internal: Unknown host
ip-127-0-0-2.eu-central-1.compute.internal [127.0.0.2] 6123 (?) open
root@ip-172-31-103-141:/app# nc -vz 127.0.0.1 6123
localhost [127.0.0.1] 6123 (?) open
root@ip-172-31-103-141:/app# nc -vz 127.0.0.1 6125
localhost [127.0.0.1] 6125 (?) : Connection refused
root@ip-172-31-103-141:/app# telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^C
Connection closed by foreign host.
root@ip-172-31-103-141:/app#
root@ip-172-31-103-141:/app# telnet localhost 6123
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^CConnection closed by foreign host.
root@ip-172-31-103-141:/app# ^C
root@ip-172-31-103-141:/app# ^C
root@ip-172-31-103-141:/app# telnet 127.0.0.1 8081
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
telnet 127.0.0.1 6123
HTTP/1.1 404 Not Found
content-type: application/json; charset=UTF-8
content-length: 58
{"errors":["Unable to load requested file /bad-request."]}Connection closed by foreign host.
root@ip-172-31-103-141:/app# telnet 127.0.0.1 6123
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^CConnection closed by foreign host.
root@ip-172-31-103-141:/app# ^C
root@ip-172-31-103-141:/app# ^C
root@ip-172-31-103-141:/app# curl http://127.0.0.1:8081
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
But in task manager logs:
2024-04-04 15:30:21,468 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor [] - Could not resolve ResourceManager address akka.tcp://flink@127.0.0.1:6123/user/rpc/resourcemanager_*, retrying in 10000 ms: Could not connect to rpc endpoint under address akka.tcp://flink@127.0.0.1:6123/user/rpc/resourcemanager_*.
2024-04-04 15:30:30,897 ERROR org.apache.flink.runtime.taskexecutor.TaskExecutor [] - Fatal error occurred in TaskExecutor akka.tcp://flink@172.31.103.141:33087/user/rpc/taskmanager_0.
org.apache.flink.runtime.taskexecutor.exceptions.RegistrationTimeoutException: Could not register at the ResourceManager within the specified maximum registration duration PT5M. This indicates a problem with this instance. Terminating now.Enzo DECHAENE
05/27/2024, 7:24 PM