not able to start broker. Failed to get user information for 'vagrant':
Opened this issue · 2 comments
Hi Team,
I am trying to play with kafka-mesos. And tried following 'kafka-mesos.properties' on my ubuntu machine with a user as 'ubuntu'.
user=ubuntu
storage=zk:/mesos-kafka-scheduler
master=10.217.212.243:5050
zk=10.217.212.243:2181/chroot
api=http://10.217.212.243:7000
But I keep on getting error like this when I try to start broker -->
_2016-06-08 21:07:54,872 [Thread-97] INFO ly.stealth.mesos.kafka.Scheduler$ - [statusUpdate] kafka-0-97f9886c-55b0-48b9-9efb-a8425faafc89 TASK_FAILED slave:#19-S2 reason:REASON_COMMAND_EXECUTOR_FAILED message:Failed to launch container: Failed to chown directory: /tmp/mesos/slaves/9e3a3df3-55ec-48fb-b984-4f78609f9a19-S2/frameworks/063c9b3a-2376-4172-a9e8-7d96d193e8c3-0001/executors/kafka-0-bff9ebe7-c4d5-497b-9538-ce81ba3c6f93/runs/0cf8c77c-8ea7-460b-8c21-392c0f7e130e to user: vagrant with error: Failed to get user information for 'vagrant' : Success; Executor terminated _
seems like you maybe already set the user to vagrant launched the framework and then changed the user after... i believe mesos has an issue with that you might have to destroy you framework and try it all over again.
I had the same issue but it got solved when I configured the switch_flag in mesos