-
Notifications
You must be signed in to change notification settings - Fork 38
Error message on start can be more useful... #33
Comments
Indeed this can come up relatively often, especially in a dev environment, and the message is not very intuitive. I've been thinking of adding an improvement, but beyond just reporting what is the PID of the conflicting service, I think it'd be great to give a hint about which is the descriptor of the outstanding confluent run that is responsible for the conflict (I'd expect it to be common to have another confluent-cli deployment that results in a conflict. Of course it could also be a standalone service, in which case a PID and the confluent home directory is what we can report). Since every service has at least one log file open while it's running, it is possible to extract this information with |
even better 👍 |
just ran into ZK failure to start due to lack of Java... I think that swallowing the error isn't the right behavior here. I had to run the "bash -x confluent start" get the command you are using and run it to find the error. There were no logs. |
Correct, that is the other case that has minimal info. I think one can only find an error message in the |
Finding the error will be easier if it goes to /var/log/kafka like the rest of the logs... I checked there first, but it was empty |
Well this was happening with me too, than i did sudo service zookeeper stop ,then confluent stop ,contfluent start things looked on right track. |
As a new Kafka user, I was hopeful that Confluent would make the experience smooth. However, after following the Ubuntu installation instructions and then hopping to the Quickstart, all that I see when I try to follow the instructions is this error. I have the global install directories in my path and everything else seems just fine on a fresh Ubuntu 16.04.3 LTS VM. I have no idea what the problem is because the error message is so vague. |
@sankalp58 that was helpful. I stopped and restarted and it worked. Thank you. |
@clayheaton, Forget Java install perhaps? |
@sankalp58 This approach worked for me as well but partial. Below is the error for schema-registry... Not able to figure out what went wrong and how to fix [2018-11-02 15:20:13,511] ERROR The retention policy of the schema topic _schemas is incorrect. You must configure the topic to 'compact' cleanup policy to avoid Kafka deleting your schemas after a week. Refer to Kafka documentation for more details on cleanup policies (io.confluent.kafka.schemaregistry.storage.KafkaStore:258) |
What's happening to me is that there's some kind of "zombie" zookeeper that cannot be used by confluent and doesn't let another zookeeper start because it's using the port 2181. To see that error I ran Unfortunately schema-registry was not being able to start so I just restarted my computer and everything got back to work. |
this is work for me thanks |
I was able to run zk & kafka thru docker. When I needed schema registry and rest proxy, I came to this and experiencing the same issue reported. Verified in my machine that no other instances of zk or kafka is running. How to find logs so that we can resolve why zk is failing to start ? |
I was getting the below error:
This error message was not enough. To find the more details about the error, I then went on to find some logs in the CONFLUENT_CURRENT directory in the zookeeper.stdout Resolution: Found and Killed the process running on port 2181 and this resolved the issue for me. However, I do agree, the original error message can be improved. |
Hi!
In the file zookeeper.stdout i see next error: |
I accidentally left my old ZK running and tried to use the CLI to start the stack:
Will be nice to use "ps" and tell me that it is already running
The text was updated successfully, but these errors were encountered: