parsa-epfl/cloudsuite

cloudsuite 4.0 Data serving Error

minkyuSnow opened this issue · 7 comments

Hello!!

I'm currently running data serving on Arm, but I get this error.

Running on two nodes. You want to create a seed server and a server on one node and run the client on the remaining nodes.

node 1
$ docker run --name cassandra-server-seed --privileged --net multi-net cloudsuite/data-serving:server
$ docker run --name cassandra-server1 --privileged --net multi-net -e CASSANDRA_SEEDS=10.0.2.2 cloudsuite/data-serving:server

node 2
$ docker run --name cassandra-client --net multi-net cloudsuite/data-serving:client 10.0.2.2,10.0.2.4
or
docker run --name cassandra-client --net multi-net cloudsuite/data-serving:client "10.0.2.2,10.0.2.4"

I tried two client commands and I got the same error message.

스크린샷 2023-02-24 15 05 44

I'm curious about the solution.

Hello,

You may use a wrong container to start the server. The server is started with container cloudsuite/data-serving:server. cloudsuite/data-serving:client would start the client.

Best,

cloudsuite/data-serving:server

Thank you for your answer.

I am currently running the application using Raspberry Pi 4.
But It was executed when the command was executed the same three to four weeks ago.
The same command should not be used at this time.

As you said, I started the server first and started the client.
However, an error occurs.

The picture below was re-run using three nodes.

Node 1 -> cassandra-seed-server
Node 2 -> cassandra-server1
Node 3 -> cassandra-client

스크린샷 2023-02-24 18 11 01

스크린샷 2023-02-24 18 11 15

스크린샷 2023-02-24 18 11 35

Oh sorry, I misunderstood your question.

I think the document is not up to date. We recently updated this workload by providing some convenient scripts. To be more specific, The entrypoint of data_serving:client now is bash, and we there are 2 scripts used to warm up and load the server.

You can check this part for a detailed document: https://github.com/parsa-epfl/cloudsuite/blob/cbce829369200d5ac85ba203cc644198c653864b/docs/benchmarks/data-serving.md#client-container

Another suggestion is that if you only have one node for the server, you just need to run the seed node: The seed node also contains the ability of the database.

Hope these suggestions are useful.

Oh sorry, I misunderstood your question.

I think the document is not up to date. We recently updated this workload by providing some convenient scripts. To be more specific, The entrypoint of data_serving:client now is bash, and we there are 2 scripts used to warm up and load the server.

You can check this part for a detailed document: https://github.com/parsa-epfl/cloudsuite/blob/cbce829369200d5ac85ba203cc644198c653864b/docs/benchmarks/data-serving.md#client-container

Another suggestion is that if you only have one node for the server, you just need to run the seed node: The seed node also contains the ability of the database.

Hope these suggestions are useful.

Thank you. It helped me a lot.

I tested the document with a single node.
I don't understand the contents of the document unlike before, so I'm asking if it's right to execute it in this format.
Do I execute the commands in the same format as the picture below?

스크린샷 2023-02-25 14 40 36

스크린샷 2023-02-25 14 40 15

스크린샷 2023-02-25 15 42 08

스크린샷 2023-02-25 15 25 30

Yes. These commands should work.

Best,

Yes. These commands should work.

Best,

Thanks to you, it was very helpful. Thank you.

I close this PR now. If you have another questions, feel free to open the issue again.