-
|
I have personal computer with ozone ha docker compose cluster. I have laptop. I want to run perf testing without affecting Ozone cluster. Run Freon from laptop. How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Docker compose is designed to run completely in one machine for testing purposes, so it is probably not the best tool to use for this. The biggest issue I see is going to be having the client locate the datanodes. When a client gets replica information from the OM, it will be using datanode hostnames that are relevant inside the compose network only. Even with some port forwarding and DNS hacking there will be the issue that each datanode container would need to use the same port number for data transfer, and those would need to be forwarded outside the container for external network access. This would result in a port conflict since they are all on the same host machine. Similar issues would exist for OM and SCM in HA as well. Perhaps another solution like kubernetes would be better suited for this task, since its network virtualization could likely handle multiple processes with identical port requirements running on the same host. |
Beta Was this translation helpful? Give feedback.
Instead of Freon I used another perf loader in docker compose cluster.
https://github.com/unisonteam/fs-perf-loader