-
Notifications
You must be signed in to change notification settings - Fork 53
Introduce Template-based task logging plugin #144
Conversation
DefaultSparkConfig map[string]string `json:"spark-config-default" pflag:"-,Key value pairs of default spark configuration that should be applied to every SparkJob"` | ||
SparkHistoryServerURL string `json:"spark-history-server-url" pflag:",URL for SparkHistory Server that each job will publish the execution history to."` | ||
Features []Feature `json:"features" pflag:"-,List of optional features supported."` | ||
LogConfig LogConfig `json:"logs" pflag:",Config for log links for spark applications."` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*
? optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I like the *
to indicate optional fields in logs... the added, mostly redundant, nil checks alone are just tiring... I think we might want to add something on the tags to indicate requirement...
Codecov Report
@@ Coverage Diff @@
## master #144 +/- ##
==========================================
+ Coverage 61.62% 61.91% +0.28%
==========================================
Files 106 109 +3
Lines 6090 6244 +154
==========================================
+ Hits 3753 3866 +113
- Misses 1954 1979 +25
- Partials 383 399 +16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this looks like backward compatible with the current setup so we should be fine.
Also the build is failing due to some access error, not sure why .
Yeah that won't work... the configured token doesn't have permissions to
push... I won't worry about it... once we move the repos over, I'll fix
these
…On Tue, Jan 19, 2021 at 4:48 PM akhurana001 ***@***.***> wrote:
***@***.**** approved this pull request.
LGTM, this looks like backward compatible with the current setup so we
should be fine.
Also the build is failing due to some access error, not sure why .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#144 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAGUF3DZJJDTWT6PVW46RTS2YR6XANCNFSM4WIABKCQ>
.
--
Thanks,
Haytham Abuelfutuh.
|
* New task log interface and template plugin * Update spark and pytorch plugins * fix unit tests * Make tests deterministic * PR Comments * unit test sorted * Ensure deterministic order of task logs * Use mixed logs for driver pod * PR Comments
TL;DR
Add Template-based task logging plugin and update usage to match.
Type
Are all requirements met?
Tracking Issue
flyteorg/flyte#549
flyteorg/flyte#448