-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
fix: ignore errors in GetLog #15181
fix: ignore errors in GetLog #15181
Conversation
e968d03
to
7b9c11e
Compare
Codecov Report
@@ Coverage Diff @@
## master #15181 +/- ##
==========================================
- Coverage 77.41% 77.25% -0.17%
==========================================
Files 969 969
Lines 49982 49999 +17
Branches 6422 6422
==========================================
- Hits 38692 38625 -67
- Misses 11087 11171 +84
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
🏷️ 2021.21 |
🏷️ 2021.23 |
(cherry picked from commit ffdbcbd)
(cherry picked from commit ffdbcbd)
SUMMARY
We're seeing errors in Databricks that say:
Searching for the message suggests that this happens when the Hive2 server can't retrieve logs, but the results should still be there. I added a try/except block when fetching logs, trying to fix the problem.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
I was able to reproduce the problem locally. The call for
fetch_logs
raised this exception:With this PR the exception is ignored (but logged), and the results are displayed correctly.
ADDITIONAL INFORMATION