You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "martin-g (via GitHub)" <gi...@apache.org> on 2026/02/01 21:25:26 UTC
[PR] Ballista Text User Interface app [datafusion-ballista]
martin-g opened a new pull request, #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436
# Which issue does this PR close?
Closes #1396
# Rationale for this change
See #1396
# What changes are included in this PR?
Initial version of the TUI app that includes:
* new Cargo feature `tui` to include it as part of the CLI app
* New CLI option `--tui` to start the TUI app
* Header navigation (Dashboard, Jobs, Metrics)
* Help popup (activate with `?` or `h`)
* Dashboard view (scheduler state and executors info)
* Placeholder for the Jobs and Metrics views
* Yaml configuration
* hardcoded defaults
* OS specific config (e.g. ~/.config/ballista/config.yaml)
* env variables, e.g. `BALLISTA_HTTP_TIMEOUT=3000`
# Are there any user-facing changes?
New option for the CLI application, --tui that starts the TUI application
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4183580494
@milenkovicm Please check the latest version when you have a moment!
I tried also to improve the key bindings legend because it got crowded in the footer.
@andygrove & everyone else: Any ideas for further improvements are welcome !
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3943521413
@milenkovicm I'll continue working on it this week!
Should I implement all functionalities from https://github.com/apache/datafusion-ballista/issues/1396 before merging it or should we split it in smaller tasks ?
--
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
Re: [PR] feat: Ballista Text User Interface [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm merged PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3832084736
I am not sure what I am doing wrong.
I start with an up-to-date `main`, add the TUI related changes in ballista-cli, everything builds locally (Cargo.lock is updated) but when I open a PR there are merge conflicts ...
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3939081831
@martin-g i hope you're not waiting for my review :)
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4149952681
Thanks for the feedback, @milenkovicm !
I will change it soon!
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4186424944
> do we need plan there if there is popup?
I'll remove the rendering of the Stage plan below the Jobs table!
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4187425751
#1543 has added more task related information. This kind of information gives users ability to diagnose skewed partitions.
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4136548418
this is getting better and better @martin-g, cool work !
If i can suggest,
<img width="1724" height="409" alt="image" src="https://github.com/user-attachments/assets/5067b120-fd60-47f8-aa7e-2373998b80ce" />
would it make sense to have only ability to switch between plans, show stage plan as default but give option to look at physical plan and logical plan. I believe current setup will get too busy quite quickly. to demonstrate how busy it can get just run tps-h benchmark
<img width="1716" height="782" alt="image" src="https://github.com/user-attachments/assets/c2d9bebc-2d9d-42c4-9d26-f9f760d6b226" />
```
cargo run --bin tpch -- benchmark ballista -p /Users/.../TMP/tpch_data/tpch-data-sf1/ -f parquet -i 1 --port 50050 --host 127.0.0.1 -q 2
```
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4208905829
<img width="1723" height="1077" alt="image" src="https://github.com/user-attachments/assets/90ee36cd-fd97-40d7-8135-fbc3d02b86f9" />
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4183662698
This looks really good @martin-g
<img width="1726" height="1015" alt="image" src="https://github.com/user-attachments/assets/b89e4750-5c26-420e-84bd-a5634513595c" />
I would suggest to have jobs view as default
<img width="1722" height="1003" alt="image" src="https://github.com/user-attachments/assets/500dc0e4-f424-40f4-8bd2-3c63d5a7afe0" />
do we need plan there if there is popup?
would it make sense to have per stage statistics (min, max task time, so we can identify partition skew) ?
```bash
curl http://localhost:50050/api/job/TvPgc07/stages
```
```
{"stages":[{"stage_id":"2","stage_status":"Successful","input_rows":42015,"output_rows":1134023,"elapsed_compute":"65.18ms"},{"stage_id":"1","stage_status":"Successful","input_rows":7,"output_rows":968857,"elapsed_compute":"65.78ms"},{"stage_id":"4","stage_status":"Successful","input_rows":12123292,"output_rows":12469236,"elapsed_compute":"8.78s"},{"stage_id":"5","stage_status":"Successful","input_rows":7,"output_rows":524,"elapsed_compute":"7.30ms"},{"stage_id":"6","stage_status":"Successful","input_rows":7,"output_rows":21,"elapsed_compute":"236.92µs"},{"stage_id":"3","stage_status":"Successful","input_rows":1499999,"output_rows":3428164,"elapsed_compute":"12ns"}]}%
```
we can provide what we have at the moment and we could add task info later
<img width="1721" height="1001" alt="image" src="https://github.com/user-attachments/assets/29c1cb34-9411-44c0-9df4-24dd276a8fd3" />
plan popup is good, it scrolls, can we make lines not to wrap, it would improve readability
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3951827452
sorry @martin-g your question fall off my radar. IMHO it would be great to get some kind of MVP in the PR if possible, but it's up to you
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4186423799
> I would suggest to have jobs view as default
In that case maybe we should rename "Dashboard" to "Executors" ?
"Dashboard" is usually the landing page in such kind of monitoring apps.
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4187217091
> > I would suggest to have jobs view as default
>
> In that case maybe we should rename "Dashboard" to "Executors" ? "Dashboard" is usually the landing page in such kind of monitoring apps.
spark starts from jobs
<img width="1409" height="580" alt="image" src="https://github.com/user-attachments/assets/d6bf597a-f06d-4cbe-9a0f-bd89f3695cd4" />
in most cases users use ui to check job status,
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4189479966
I guess we could do stage related changes as a follow up, wdyt?
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4186448051
> an we make lines not to wrap, it would improve readability
removed the wrapping
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-4189553756
> I guess we could do stage related changes as a follow up, wdyt?
It is up to you how much code you want to review at once :-)
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3952016569
I'll continue adding functionalities for the other views too (jobs & metrics)!
--
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
Re: [PR] Ballista Text User Interface app [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1436:
URL: https://github.com/apache/datafusion-ballista/pull/1436#issuecomment-3952031190
I'll try to get logical and physical plan as part of api this week
--
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