Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find or load main class FlameGraph #22

Closed
ennishol opened this issue Mar 10, 2024 · 0 comments
Closed

Error: Could not find or load main class FlameGraph #22

ennishol opened this issue Mar 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ennishol
Copy link

Usage hints for converter indicate FlameGraph can be used

 java -jar ap-loader-all.jar converter
Usage: java -cp ap-loader.jar one.converter.<Converter> [options] <input> <output>

Available converters:
  FlameGraph  input.collapsed output.html
  jfr2flame   input.jfr       output.html
  jfr2nflx    input.jfr       output.nflx
  jfr2pprof   input.jfr       output.pprof

however when I run it, I get an error

java -jar ap-loader-all.jar converter FlameGraph input.collapsed collapsed.html
Error: Could not find or load main class FlameGraph
Caused by: java.lang.ClassNotFoundException: FlameGraph
@parttimenerd parttimenerd self-assigned this Mar 11, 2024
@parttimenerd parttimenerd added the bug Something isn't working label Mar 11, 2024
parttimenerd added a commit that referenced this issue Mar 12, 2024
dongjoon-hyun pushed a commit to apache/spark that referenced this issue May 7, 2024
### What changes were proposed in this pull request?
The pr aims to  update `me.bechberger:ap-loader-all` from `3.0-8` to `3.0-9`.

### Why are the changes needed?
The full release notes:
https://github.com/jvm-profiling-tools/ap-loader/releases/tag/3.0-9
Fix FlameGraph converter jvm-profiling-tools/ap-loader#22

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manually test about the new version `3.0-9`
  <img width="1364" alt="image" src="https://github.com/apache/spark/assets/15246973/50f38e65-cd93-45d1-b01a-d66d53c2831b">

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #46427 from panbingkun/SPARK-48165.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this issue May 11, 2024
### What changes were proposed in this pull request?
The pr aims to  update `me.bechberger:ap-loader-all` from `3.0-8` to `3.0-9`.

### Why are the changes needed?
The full release notes:
https://github.com/jvm-profiling-tools/ap-loader/releases/tag/3.0-9
Fix FlameGraph converter jvm-profiling-tools/ap-loader#22

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manually test about the new version `3.0-9`
  <img width="1364" alt="image" src="https://github.com/apache/spark/assets/15246973/50f38e65-cd93-45d1-b01a-d66d53c2831b">

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#46427 from panbingkun/SPARK-48165.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants