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.

HDP 3.1 kafka versions

Solved Go to solution
Highlighted

HDP 3.1 kafka versions

New Contributor

94585-screen-shot-2018-12-13-at-12340-pm.png

Just installed HDP 3.1.0_78 Noticed that it is running kafka 2.0 as per the website here but ambari versions is showing its running 1.0.1. Wondering if my install is just bugged or if others see this as well.

thanks,

Mike

1 ACCEPTED SOLUTION

Accepted Solutions

Re: HDP 3.1 kafka versions

Hi @Michael Mester,

This will usually happen if you are using a local repository to install the HDP and ambari cannot fetch the version information from : http://public-repo-1.hortonworks.com/HDP/amazonlinux2/3.x/updates/3.1.0.0/HDP-3.1.0.0-78.xml

and instead it fetch's from stacks defined in /var/lib/ambari-server/resources

and this HDP-3.1 is minor version of HDP-3.x the stacks defined in abouve location will be having the HDP-3.0's versions information.

you can either ignore displayed versions in stacks and versions page.

or

you can go to ambari database and edit the repo_version table using following commands

[root@asn1 ~]# psql -U ambari ambari
Password for user ambari:
psql (9.2.24)
Type "help" for help.
ambari=> select version_xml from repo_version;
                                                            version_xml
-----------------------------------------------------------------------------------------------------------------------------------
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>                                              
.....<SOME DATA>... '
ambari=> update repo_version set version_xml='<USE_SAME_DATA_ABOUVE_EDIT The versions of Services as per this url : http://public-repo-1.hortonworks.com/HDP/amazonlinux2/3.x/updates/3.1.0.0/HDP-3.1.0.0-78.xml>';

Please note: always take a Database backup before any operation to ambari and stop ambari server.

Default password of database if postgresql is bigdata

PS: Please accept this answer if you find it helpful

only perform Database operations if you have prior experience or as mentioned please ignore what ambari show's in stack and versions page.

4 REPLIES 4

Re: HDP 3.1 kafka versions

@Michael Mester

My HDP-3.1.0.0-78 cluster shows the right Kafka version 2.0.0. Looks like your installation is bugged, do verify the repos which are configured.

Re: HDP 3.1 kafka versions

New Contributor

Thanks for the replies. This cluster is a new cluster installed with local repos, as in this case the online repos wont be available. The output from the above on a kafka broker is: kafka-broker - 3.1.0.0-78.

Re: HDP 3.1 kafka versions

Hi @Michael Mester,

This will usually happen if you are using a local repository to install the HDP and ambari cannot fetch the version information from : http://public-repo-1.hortonworks.com/HDP/amazonlinux2/3.x/updates/3.1.0.0/HDP-3.1.0.0-78.xml

and instead it fetch's from stacks defined in /var/lib/ambari-server/resources

and this HDP-3.1 is minor version of HDP-3.x the stacks defined in abouve location will be having the HDP-3.0's versions information.

you can either ignore displayed versions in stacks and versions page.

or

you can go to ambari database and edit the repo_version table using following commands

[root@asn1 ~]# psql -U ambari ambari
Password for user ambari:
psql (9.2.24)
Type "help" for help.
ambari=> select version_xml from repo_version;
                                                            version_xml
-----------------------------------------------------------------------------------------------------------------------------------
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>                                              
.....<SOME DATA>... '
ambari=> update repo_version set version_xml='<USE_SAME_DATA_ABOUVE_EDIT The versions of Services as per this url : http://public-repo-1.hortonworks.com/HDP/amazonlinux2/3.x/updates/3.1.0.0/HDP-3.1.0.0-78.xml>';

Please note: always take a Database backup before any operation to ambari and stop ambari server.

Default password of database if postgresql is bigdata

PS: Please accept this answer if you find it helpful

only perform Database operations if you have prior experience or as mentioned please ignore what ambari show's in stack and versions page.

Re: HDP 3.1 kafka versions

Hi @Michael Mester,

Can you please see if this commend helps you. login and accept this answer if it did. :)

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