TimelyDataflow / diagnostics

Diagnostic tools for timely dataflow computations
MIT License
42 stars 10 forks source link

This tool seems to be broken #21

Open rafaelcgs10 opened 1 year ago

rafaelcgs10 commented 1 year ago

Hi,

I have tried to use this tool with different examples and crate versions.

It always gets stuck: pressing enter has no result.

To reproduce:

FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y cargo git

RUN git clone https://github.com/TimelyDataflow/timely-dataflow
WORKDIR timely-dataflow

RUN cargo install tdiag

ENV PATH="$PATH:/root/.cargo/bin"

Run:

docker build -t foo .

And run this docker in two different shells:

docker run --name foo_container --rm -it foo tdiag --source-peers 2 graph --out graph.html
docker exec -it foo_container env TIMELY_WORKER_LOG_ADDR="127.0.0.1:51317" cargo run --example pagerank 1000 1000000 -w 2
joseph-isaacs commented 7 months ago

This PR seemed to fix the hanging for me.