You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add instrumentation for memory profiling in Python SDK (#38853)
* Introduce python memory profiling pipeline options.
* Add memray and google-pprof dependencies
* Parse profiler options in boot.go
* Upload profiles to GCS.
* Disable the profiler after a timeout reached.
* Support --profiler_stop_after_crash
* Add on-the-worker postprocessing support.
* Generate also the --leaks flamegraph.
* Profiler options: use seconds, update defaults.
* Set a default profile location from temp location.
* Refactor: move profiling pieces into a separate file.
* Post-process profiles sequentially.
* Simplify tcmalloc preloading to be compatible with ARM versions.
* Use consistent mechanisms for periodic invocations of background tasks.
* Formatting
* Regenerate dependencies.
* Update changes.md
* Address comments.
* Be more resilient to scenarios when postprocessing was interrupted.
* Handle postprocessing decision for each report individually.
* Remove none-handling since pipeline option validation overwrites empty value later anyway. Users can pass --profile_upload_interval_sec=0 to disable uploads.
* Append Job ID and hostname if available in the local temp directory structure.
* yapf
* Support for reading from Delta Lake added (Java) ([#38551](https://github.com/apache/beam/issues/38551)).
@@ -71,10 +71,10 @@
71
71
## New Features / Improvements
72
72
73
73
* (Java) Enabled state tag encoding v2 by default for new Dataflow Streaming Engine jobs. It can be disabled by passing `--experiments=disable_streaming_engine_state_tag_encoding_v2` or `--updateCompatibilityVersion=2.74.0` pipeline option. Note that the tag encoding version cannot change during a job update. Jobs using tag encoding v2 (enabled by default for new jobs on 2.75.0+) cannot be downgraded to Beam versions prior to 2.73.0, as only versions 2.73.0 and later support tag encoding v2. ([#38705](https://github.com/apache/beam/issues/38705)).
74
+
* (Python) Added instrumentation to support off-the-shelf profiling agents when launching Python SDK Harness ([#38853](https://github.com/apache/beam/issues/38853)).
74
75
75
76
## Breaking Changes
76
77
77
-
* X behavior was changed ([#X](https://github.com/apache/beam/issues/X)).
78
78
* (Python) Typehints of dataclass fields are honored during type inferences. To restore the behavior of fallback-to-any,
79
79
use pipeline option `--exclude_infer_dataclass_field_type` ([#38797](https://github.com/apache/beam/issues/38797)).
80
80
However fixing forward is recommended.
@@ -85,7 +85,6 @@
85
85
86
86
## Bugfixes
87
87
88
-
* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
89
88
* Fixed IcebergIO writing manifest column bounds padded with trailing `0x00` bytes, which broke equality predicate pushdown in some query engines (Java) ([#38580](https://github.com/apache/beam/issues/38580)).
0 commit comments