LucaCanali / sparkMeasure

This is the development repository for sparkMeasure, a tool and library designed for efficient analysis and troubleshooting of Apache Spark jobs. It focuses on easing the collection and examination of Spark metrics, making it a practical choice for both developers and data engineers.
Apache License 2.0
690 stars 144 forks source link

'JavaPackage' object is not callable when using the Colab Example #50

Closed ssalloum closed 1 year ago

ssalloum commented 1 year ago

Hello, I am trying the Google Colab example. I get

TypeError: 'JavaPackage' object is not callable

when running: stagemetrics = StageMetrics(spark)

Are there any other settings to do with Google Colab? Thank you!

LucaCanali commented 1 year ago

The Colab example should work OK, I have just tested it. Can you please try again and let me know if you still have issues? Best, Luca

ssalloum commented 1 year ago

Hello, I tested it again. It is working without any errors. I have no idea why I got that error before. Thank you! Salman

LucaCanali commented 1 year ago

Good to know, thanks for the update.