You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "hokiegeek2 (via GitHub)" <gi...@apache.org> on 2023/01/24 10:19:47 UTC
[GitHub] [arrow-ballista] hokiegeek2 opened a new issue, #627: Job graph fails to display in UI
hokiegeek2 opened a new issue, #627:
URL: https://github.com/apache/arrow-ballista/issues/627
**Describe the bug**
Clicking on the view graph icon...

...fails to display the job graph:

**To Reproduce**
1. click on view graph icon
**Expected behavior**
DAG of job task sequence
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-ballista] hokiegeek2 commented on issue #627: Job graph fails to display in UI
Posted by "hokiegeek2 (via GitHub)" <gi...@apache.org>.
hokiegeek2 commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1446138531
@onthebridgetonowhere cool, okay, I'll pull and build from that commit and see if I can reproduce your results
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Job graph fails to display in UI [arrow-ballista]
Posted by "simicd (via GitHub)" <gi...@apache.org>.
simicd commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1911128842
Hi all, while working on #957 I faced the same issue, here's how to reproduce it:
1. In the API handler, `get_job_svg_graph` function replace `.map_err(|_| warp::reject())` with `.map_err(|err| { info!("Issue: {:?}", err); warp::reject()})`
https://github.com/apache/arrow-ballista/blob/9903ab27f121f16717a70de7a30f643c4c45dd34/ballista/scheduler/src/api/handlers.rs#L343-L348
2. Launch scheduler and executor
3. Submit a query, e.g. the `standalone-sql.rs` but with a call to remote:
```rust
use ballista::prelude::{BallistaConfig, BallistaContext, Result};
use ballista_examples::test_util;
use datafusion::execution::options::ParquetReadOptions;
#[tokio::main]
async fn main() -> Result<()> {
let config = BallistaConfig::builder()
.set("ballista.shuffle.partitions", "1")
.build()?;
let ctx = BallistaContext::remote("localhost", 50050, &config).await?;
let testdata = test_util::examples_test_data();
// register parquet file with the execution context
ctx.register_parquet(
"test",
&format!("{testdata}/alltypes_plain.parquet"),
ParquetReadOptions::default(),
)
.await?;
let df = ctx.sql("select count(1) from test").await?;
df.show().await?;
Ok(())
}
```
4. Wait until query is executed
5. Look up the job ID, e.g. GET request to `http://localhost:50050/api/jobs`
6. Call `http://localhost:50050/api/job/{job_id}/dot_svg` with the retrieved job_id (e.g. `http://localhost:50050/api/job/bvppZ4r/dot_svg`)
7. Go to the terminal of the scheduler and monitor the logs - I got the following error:
```
2024-01-25T22:28:24.800607Z INFO tokio-runtime-worker ThreadId(19) ballista_scheduler::api::handlers: Issue: Error { kind: NotFound, message: "program not found" }
```
Hope that helps to narrow it down!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Job graph fails to display in UI [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm closed issue #627: Job graph fails to display in UI
URL: https://github.com/apache/datafusion-ballista/issues/627
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
[GitHub] [arrow-ballista] hokiegeek2 commented on issue #627: Job graph fails to display in UI
Posted by "hokiegeek2 (via GitHub)" <gi...@apache.org>.
hokiegeek2 commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1443501106
@onthebridgetonowhere Cool! Basically, no job graphs display in the UI in my experience
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-ballista] onthebridgetonowhere commented on issue #627: Job graph fails to display in UI
Posted by "onthebridgetonowhere (via GitHub)" <gi...@apache.org>.
onthebridgetonowhere commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1445161836
I took a look at it but I cannot reproduce the problem. Can you please provide more info about your configuration, version, build commit?
The first thing I'd try is to update to latest commit on `main` branch if possible.
Here's what I've done that works for me:
- update to latest [commit - 22029020](https://github.com/apache/arrow-ballista/commit/2202902072e54dbb558b69212356ca1655bfccf8)
- cd ballista/scheduler && cargo run RUST_LOG=info ballista-scheduler
- cd ballista/executor && cargo run RUST_LOG=info ballista-executor
- cd ballista/scheduler/ui && yarn start
- cd examples && cargo run --release --bin sql
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-ballista] onthebridgetonowhere commented on issue #627: Job graph fails to display in UI
Posted by "onthebridgetonowhere (via GitHub)" <gi...@apache.org>.
onthebridgetonowhere commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1446646845
@hokiegeek2 sounds good, let us know how it goes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Job graph fails to display in UI [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on issue #627:
URL: https://github.com/apache/datafusion-ballista/issues/627#issuecomment-2814076120
Web UI is not part of core ballista, closing this issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
[GitHub] [arrow-ballista] onthebridgetonowhere commented on issue #627: Job graph fails to display in UI
Posted by "onthebridgetonowhere (via GitHub)" <gi...@apache.org>.
onthebridgetonowhere commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1442773329
I worked on this some time ago, so I'd be happy to have a look at it.
@hokiegeek2 - does it fail at any job or specific jobs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Job graph fails to display in UI [arrow-ballista]
Posted by "simicd (via GitHub)" <gi...@apache.org>.
simicd commented on issue #627:
URL: https://github.com/apache/arrow-ballista/issues/627#issuecomment-1967806525
Ok I think I stumbled over the solution for this issue: The `graphviz-rust` library requires additionally the [graphviz CLI](https://graphviz.org/download/) to be installed:

Source: [Documentation](https://crates.io/crates/graphviz-rust)
On Windows these were the steps:
1. `winget install graphviz`
2. Add `C:\Program Files\Graphviz\bin` to PATH
3. Validate the CLI is installed with `dot -V`
4. Restart ballista scheduler
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org