-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][Agent] The data file cannot be fetched #5720
Comments
Thanks a lot for opening your first issue with us! 🧡 We'll get back to you shortly! ⏳ |
@lucaspeng12138 PTAL, thanks. |
@byhuwei could you please package logs in manager and send to me? I cannot find a same env with your problem. My email 171575146@qq.com. Thanks! |
@byhuwei and agent logs too, please. |
@lucaspeng12138 I have sent to u |
@byhuwei I find an error log in agent, is it network from agent to manager ok? I think agent can't access manager. |
@lucaspeng12138 I start inlong service with docker compose, so i think maybe the agent start before manager which cause this error. I start the task at 08:17 and this error occured at 08:07. Also, there are no errors of agent after 08:07. So i think this error has no relation to this situation |
@byhuwei OK, I'm checking and trying to reproduce this problem. |
@byhuwei I find an environment which can reproduce this problem. I found agent report heartbeat to manager use instance ip 172.19.0.6 which is the agent container ip. When I using 127.0.0.1 on data source to tell manager agent ip is localhost, this problem will happen. You can confirm agent ip in mysql->apache_inlong_manager->component_heartbeat. |
@byhuwei Please let me know any progress if you have tried again. |
@lucaspeng12138 I'm really sorry for responding u so late. I have retried again as u mentioned and i got a correct status when i use the agent container ip. So, the cause of this situation is the wrong ip of datasource which i configured. Thanks very much! |
What happened
I configure all procedures and start a job of flink successfully, but the data in localhost cannot be written into mysql as i configured.
The state of data source is "waiting to add". There was no error logs in all of components.
What you expected to happen
The task of Inlong Agent was not created by Inlong Manager.
How to reproduce
The version of Inlong is 1.3.0 and I establish it by docker compose. The configuration of data source as follow. The name of data source is "local", the ip is "127.0.0.1", the path is "/data/collect-data/*.csv". Then i create a file named "1.csv" under the path /data/collect-data/ in the Inlong Agent container. However, it doesnot seem to work.
![1](https://user-images.githubusercontent.com/46045378/186879136-61e33d4f-8d9f-4ac8-9384-1a05416361a1.png)
Environment
docker 20.10.17
docker compose v2.6.0
InLong version
1.3.0
InLong Component
InLong Manager, InLong Agent
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: