Skip to content
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

When creating broker datadir directories, you cannot specify multiple datadirs #74

Closed
liko9 opened this issue Jan 9, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@liko9
Copy link

liko9 commented Jan 9, 2019

If I override the datadir to be /dir01,/dir02,/dir03, the parameter logs.dir is correct in server.properties - but it also tries to create the directories with a mkdir command which fails because it takes it as "mkdir /dir01,/dir02,/dir03" instead of 3 separate mkdir commands "mkdir /dir01; mkdir /dir02; mkdir /dir03"

@OneCricketeer
Copy link
Contributor

OneCricketeer commented Jan 15, 2019

I believe the data directories need to be an array, not comma-separated.

e.g.

datadir: ['/dir01','/dir02','/dir03']

Or

datadir:
  - /dir01
  - /dir02
  - /dir03 

https://github.com/confluentinc/cp-ansible/blob/5.0.x/roles/confluent.kafka-broker/tasks/main.yml#L17

@JumaX JumaX added the enhancement New feature or request label Jun 20, 2019
@domenicbove
Copy link
Contributor

Agreed, the code expects an array

JumaX pushed a commit that referenced this issue Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants