Closed jonathanmv closed 5 years ago
What is the total memory of EC2 instance? What is the heap size configured for ZooKeeper? Could you please also get the detail logs of the management service from cloudwatch?
I was using t2.small instances for the nodes, they have 2Gb of memory. The heap size was 512Mb for both zookeeper and kafka. I can't share the logs because I deleted the stack and all the logs as well
I had similar issues with small instances. Try t2.large.
Interesting. I also used t2.small in simple test sometimes, and did not see this problem. You could try t2.large. If you tried t2.small and hit this bug again, please help to collect the logs from cloudwatch.
Ok, I recreated the cluster with t2.small instances and I am still getting the same problem. The kafka service is unable to start regardless of the heap size memory.
can you attach the logs of filecamp management service?
firecamp-manageserver-logs.txt Here are the logs of a new cluster created. This one has instances t2.medium and I was unable to create the zookeeper service.
In the logs you may find that I deleted the service and tried to create it again but to no avail.
How are you configuring the stacks? I haven't been able to use this cloudformation template unfortunately
looks zk container could not be started. this sounds weird. never met this before.
could you please get the firecamp volume log from one of the node? /var/log/firecamp/firecamp-dockervolume.*
also if you could attach one zk log, it would help for the debugging. The zk log is in cloudwatch.
how did you provision the system? are you using aws quickstart, or provision by yourself? Did you specify the correct availability zones and the corresponding subnets?
Sorry guys, I'm unable to check the logs or spend more time looking into this issue.
Hi, thanks for this amazing project.
I was able to create a stack and install the zookeeper service, however the kafka service is presenting some issues.
The command I'm using to create the kafka service is below
I'm using small numbers in the
heap-size
andvolume
because I'm just testing the firecamp tool.After executing the command to create the service I start getting messages like
Until finally it times out
I am able to connect to the zookeeper hosts and run commands with
zookeeper-shell.sh
.If I check the status running
firecamp-service-cli -op=check-service-init
it says that the service is initialized. I can see that the DNS mapping and then EBS Volumes have been created. I can also run-op=get-service
and it saysServiceStatus:ACTIVE
I tried deleting the service and creating it again but to no avail.
Tomorrow I will be trying to recreate the stack to see if in the new stack I don't have that issue.
Is there any step that I am missing or doing wrongly? I am following the tutorial
Please let me know if there's some other info you need from me. Thanks again