Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari 2.2 Kafka broker.id missing?

Solved Go to solution
Highlighted

Ambari 2.2 Kafka broker.id missing?

Explorer

Installing Ambari 2.2, it seem that the kafka properties broker.id is missing, causing kafka broker not to start. Is this a bug? I had to add it to the config as a custom broker.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Explorer

Solution was to add the missing property, broker.id = 0

View solution in original post

9 REPLIES 9
Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

What version of HDP are you deploying?

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Explorer

HDP 2.3.2.

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

@Hassan Faouaz

I don't see broker.id in ambari 2.1 and 2.2

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Mentor

@Hassan Faouaz has this been resolved? Can you post your solution or accept best answer?

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Explorer

Solution was to add the missing property, broker.id = 0

View solution in original post

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Mentor

@Hassan Faouaz when you vote for yourself you don't get points, I unaccepted and accepted your answer.

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Expert Contributor

I think broker.id is not visible on Ambari, since it is automatically created upon kafka installation.

If you check your server.properties of all the brokers, you will see that they have different broker.id.

Btw, did anyone here put a value on host.name?

I saw on HDP docs that "Leave hostname empty to bind to default interface."

see here. https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/configu...

Highlighted

Re: Ambari 2.2 Kafka broker.id missing?

Explorer

Kafka stores the broker.id in a file at time install of meta.properties and it will be forever that number until you delete that file is located kafka logs.dir/meta.properties

#Thu Feb 04 11:50:40 EST 2016 version=0 broker.id=1003

Stop Kafka and Delete and it should recreate

Re: Ambari 2.2 Kafka broker.id missing?

Contributor

this 'kafka logs.dir/meta.properties' was the info very much help for my task here. thank you @mthiele.

Don't have an account?
Coming from Hortonworks? Activate your account here