influxdata / influxdata/kapacitor

udf setting in Kapacitor.conf when using Docker - File/Folder not found

Open
#2,361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I have having trouble pointing kapacitor to my UDF's location.

`service=run err="open server: open service *udf.Service:
failed to load process info for \"example\": fork/exec
/home/path/projectfiles/example: no such file or directory"
`

udf setting in Kapacitor.conf
`
[udf]
[udf.functions.example]
prog = "/home/path/projectfiles/example"
args = []
timeout = "10s"
`

__Proposal:__
Short summary of the feature.

__Current behavior:__
Describe what currently happens.

__Desired behavior:__
Describe what you want.

__Alternatives considered:__
Describe other solutions or features you considered.

__Use case:__
Why is this important (helps with prioritizing requests)?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report identifies the [udf.functions.example] section in Kapacitor.conf and a Docker-based executable path, but names no repository file or test. First inspect how the container mounts /home/path/projectfiles and whether example exists at that path; done means the UDF process loads without the reported no-such-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.