What happen when you can not start up kafka server in confluent platform?
So far, the solution I have is just to delete the previous logs.
See the following logs:
root@alex-win:/opt/kafka/confluent-5.2.1/bin# ./confluent start
This CLI is intended for development only, not for production
https://docs.confluent.io/current/cli/index.html
Using CONFLUENT_CURRENT: /tmp/confluent.2JVETE2w
Starting zookeeper
zookeeper is [UP]
Starting kafka
|Kafka failed to start
kafka is [DOWN]
Cannot start Schema Registry, Kafka Server is not running. Check your deployment
root@alex-win:/opt/kafka/confluent-5.2.1/bin# ./confluent stop
This CLI is intended for development only, not for production
https://docs.confluent.io/current/cli/index.html
Using CONFLUENT_CURRENT: /tmp/confluent.2JVETE2w
Stopping control-center
control-center is [DOWN]
Stopping ksql-server
ksql-server is [DOWN]
Stopping connect
connect is [DOWN]
Stopping kafka-rest
kafka-rest is [DOWN]
Stopping schema-registry
schema-registry is [DOWN]
Stopping kafka
kafka is [DOWN]
Stopping zookeeper
zookeeper is [DOWN]
root@alex-win:/opt/kafka/confluent-5.2.1/bin#
root@alex-win:/opt/kafka/confluent-5.2.1/bin#
root@alex-win:/opt/kafka/confluent-5.2.1/bin# cd /tmp
root@alex-win:/tmp# ls -l
total 200
drwx------ 1 root root 4096 Jun 17 22:15 confluent.2JVETE2w
-rw-r--r-- 1 root root 24 Jun 17 22:12 confluent.current
drwxr-xr-x 1 alex alex 4096 Jun 17 20:51 hsperfdata_alex
drwxr-xr-x 1 root root 4096 Jun 20 15:07 hsperfdata_root
-rw-r--r-- 1 root root 203184 Jun 17 22:12 liblz4-java7317139536222104484.so
drwx------ 1 root root 4096 Jun 17 12:29 tmpw7mxdtto
root@alex-win:/tmp# rm -fr confl*
root@alex-win:/tmp# cd -
/opt/kafka/confluent-5.2.1/bin
root@alex-win:/opt/kafka/confluent-5.2.1/bin# ./confluent start
This CLI is intended for development only, not for production
https://docs.confluent.io/current/cli/index.html
Using CONFLUENT_CURRENT: /tmp/confluent.GKsUTZAG
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
Starting schema-registry
schema-registry is [UP]
Starting kafka-rest
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
Starting control-center
control-center is [UP]
root@alex-win:/opt/kafka/confluent-5.2.1/bin#
No comments:
Post a Comment