After multiple attempts for last 2 days, I am still unable to start third instance.
I am using latest Confluent 2.0.1 with 3 nodes, all running Zookeeper and Kafka.
I am able to start on two but third one fails (Error msg listed below).
Versions,
Kafka version : 0.9.0.1-cp1
zookeeper.version=3.4.6-1569965, built on 02/20/2014
java.version=1.7.0_101
[2016-05-17 22:24:57,166] INFO Kafka version : 0.9.0.1-cp1 (org.apache.kafka.common.utils.AppInfoParser:82)
[2016-05-17 22:24:57,166] INFO Kafka commitId : b315983658a9783b (org.apache.kafka.common.utils.AppInfoParser:83)
[2016-05-17 22:24:57,166] INFO Kafka commitId : b315983658a9783b (org.apache.kafka.common.utils.AppInfoParser:83)
[2016-05-17 22:24:57,167] INFO [kafka-store-reader-thread-_schemas], Starting (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread:68)
[2016-05-17 22:24:57,299] INFO Wait to catch up until the offset of the last message at 2 (io.confluent.kafka.schemaregistry.storage.KafkaStore:225)
[2016-05-17 22:25:57,300] ERROR Error starting the schema registry (io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication:57)
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryInitializationException: Error initializing kafka store while initializing schema registry
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.init(KafkaSchemaRegistry.java:166)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.setupResources(SchemaRegistryRestApplication.java:55)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.setupResources(SchemaRegistryRestApplication.java:37)
at io.confluent.rest.Application.createServer(Application.java:109)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:43)
Caused by: io.confluent.kafka.schemaregistry.storage.exceptions.StoreInitializationException: io.confluent.kafka.schemaregistry.storage.exceptions.StoreTimeoutException: KafkaStoreReaderThread failed to reach target offset within the timeout interval. targetOffset: 2, offsetReached: -1, timeout(ms): 60000
at io.confluent.kafka.schemaregistry.storage.KafkaStore.init(KafkaStore.java:155)
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.init(KafkaSchemaRegistry.java:164)
... 4 more
Caused by: io.confluent.kafka.schemaregistry.storage.exceptions.StoreTimeoutException: KafkaStoreReaderThread failed to reach target offset within the timeout interval. targetOffset: 2, offsetReached: -1, timeout(ms): 60000
at io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread.waitUntilOffset(KafkaStoreReaderThread.java:228)
at io.confluent.kafka.schemaregistry.storage.KafkaStore.waitUntilKafkaReaderReachesLastOffset(KafkaStore.java:226)
at io.confluent.kafka.schemaregistry.storage.KafkaStore.init(KafkaStore.java:153)
Thanks
S