influxdata / influxdata/kapacitor
Kapacitor UDF -TypeError: __init__() got an unexpected keyword argument 'serialized_options
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Need urgent help
Kapacitor 1.5.9
Python3
protobuf==3.4.0
Trying Anomaly detection (kapacitor\udf\agent\examples\outliers\outliers.py) getting the following error right after kapacitor start
`ts=2021-06-09T20:00:50.103+05:30 lvl=info msg="UDF log" service=udf text="TypeError: __init__() got an unexpected keyword argument 'serialized_options'"
ts=2021-06-09T20:00:54.282+05:30 lvl=info msg="closed HTTP service" service=http
ts=2021-06-09T20:00:54.282+05:30 lvl=info msg="closed HTTP service" service=http
ts=2021-06-09T20:00:54.282+05:30 lvl=info msg="closed task master" service=kapacitor task_master=main
ts=2021-06-09T20:00:54.282+05:30 lvl=error msg="encountered error" service=run err="open server: open service *udf.Service: failed to load process info for \"outliers\": write error: write |1: The pipe is being closed."`
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with kapacitor/udf/agent/examples/outliers/outliers.py and reproduce the failure using Kapacitor 1.5.9, Python 3, and protobuf 3.4.0. Trace the startup error involving serialized_options and verify that the anomaly-detection UDF starts without the TypeError and pipe-closure errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100