Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error nifi cluster in kubernetes

avatar
New Contributor

I'm having a problem trying to create a nifi cluster with kubernetes.

Error displayed: "The specified run.as user ec2-user does not exist. Exiting."

The error appears when I use /opt/nifi/nifi-current/conf folder mapping
If I remove this mapping from the nifi folder, the cluster is created without problems.
But I need this folder to keep the data flows if the container dies, come back with the data

the folder in the instance is in /home/ec2-user/user/1.16

I already gave permission 777 on the folder to test and it still didn't work

I already changed the user to upload with root user and nifi (pid 0 and 1000) and it didn't work

1 ACCEPTED SOLUTION

avatar
New Contributor

Find out the problem.
It seems that in versions above 1.14 the bootstrap.conf file has an option in the ^M file
where you can change the file parameters


photo1649687275.jpeg

I removed this option in the value "Run.as"
and the problem was solved

View solution in original post

1 REPLY 1

avatar
New Contributor

Find out the problem.
It seems that in versions above 1.14 the bootstrap.conf file has an option in the ^M file
where you can change the file parameters


photo1649687275.jpeg

I removed this option in the value "Run.as"
and the problem was solved