Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2445 | 04-27-2020 03:48 AM | |
4880 | 04-26-2020 06:18 PM | |
3976 | 04-26-2020 06:05 PM | |
3219 | 04-13-2020 08:53 PM | |
4925 | 03-31-2020 02:10 AM |
06-27-2019
12:19 PM
1 Kudo
@Michael Bronson Kafka uses zookeeper https://kafka.apache.org/documentation/#brokerconfigs , hence in HDP common services you will find that Kafka has a dependency to Zookeeper. Example: # grep -B4 -A4 'ZOOKEEPER' /var/lib/ambari-server/resources/common-services/KAFKA/0.8.1/metainfo.xml
<versionAdvertised>true</versionAdvertised>
<rollingRestartSupported>true</rollingRestartSupported>
<dependencies>
<dependency>
<name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
<scope>cluster</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
--
<scriptType>PYTHON</scriptType>
<timeout>300</timeout>
</commandScript>
<requiredServices>
<service>ZOOKEEPER</service>
</requiredServices>
<configuration-dependencies>
<config-type>kafka-broker</config-type>
<config-type>kafka-env</config-type> . https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/metainfo.xml#L34-L42
... View more
06-27-2019
10:50 AM
@Paul Zhang I am not getting any timeout while accessing the repo. Can you please try again? Example: # curl http://nexus-private.hortonworks.com/nexus/content/groups/public/
<html>
<head>
<title>Index of /groups/public</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="icon" type="image/png" href="https://nexus-private.hortonworks.com/nexus/favicon.png">
<!--[if IE]>
<link rel="SHORTCUT ICON" href="https://nexus-private.hortonworks.com/nexus/favicon.ico"/>
<![endif]-->
<link rel="stylesheet" href="https://nexus-private.hortonworks.com/nexus/static/css/Sonatype-content.css?2.11.2-06" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<h1>Index of /groups/public</h1>
<table cellspacing="10">
<tr>
<th align="left">Name</th>
<th>Last Modified</th>
<th>Size</th>
<th>Description</th>
</tr>
<tr>
<td><a href="../">Parent Directory</a></td>
</tr>
<tr>
<td><a href="https://nexus-private.hortonworks.com/nexus/content/groups/public/27756a05fd50e7e0/">27756a05fd50e7e0/</a></td>
<td>Mon Jan 07 17:35:19 PST 2019</td>
<td align="right">
</td>
<td></td>
</tr>
.
.
.
<tr>
<td><a href="https://nexus-private.hortonworks.com/nexus/content/groups/public/tests">tests</a></td>
<td>Mon Jun 17 05:57:28 PDT 2019</td>
<td align="right">
11552
</td>
<td></td>
</tr>
</table>
</body>
</html> . We can also use the following repos: https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/using-hiveql/content/hive_set_up_development_environment.html <repositories>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<id>HDPReleases</id>
<name>HDP Releases</name>
<url>http://repo.hortonworks.com/content/repositories/releases/</url>
<layout>default</layout>
</repository>
<repository>
<id>public.repo.hortonworks.com</id>
<name>Public Hortonworks Maven Repo</name>
<url>http://repo.hortonworks.com/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories> .
... View more
06-27-2019
06:15 AM
@Chhaya Vishwakarma Also can you please share the exact steps that you have performed after upgrading the Ambari Server binaries from 2.7.0 to 2.7.3.
... View more
06-27-2019
06:13 AM
@Chhaya Vishwakarma 0. Are you entering the Correct Ambari Server Host Name & Port in the rest URL ? (or by mistake it is pointing to a freshly installed ambari server host) ? 1. Are you sure that ambari DB was not reset? (Did some one rest the ambari DB) 2. Do you see the cluster creation wizard shown when you login to the UI ? (if yes then may be the ambari DB is reset or ambari server is pointing to wrong DB which does not have cluster info) 3. Please grep the Ambari DB details from the following output and then check the "clusters" table detail. # grep jdbc /etc/ambari-server/conf/ambari.properties 4. What output do you see when you run the following SQL query in amabri DB? # SELECT * FROM clusters; 5. Can you please share the complete output of "/var/log/ambari-server/ambari-server.log"
... View more
06-27-2019
05:52 AM
@Chhaya Vishwakarma Good to know that the original issue reported as part of the HCC thread is resolved. It will be great if you mark this HCC thread as "Answered" by clicking the "Accept" button on the correct answer. For the new issue please open a Separate HCC thread so HCC users will be able to browse single query/with single solution as part of this thread.
... View more
06-27-2019
05:44 AM
1 Kudo
@Alampally Vinith The error indicates that your MySQL Server seems may not be running healthy. The MYSQl server is not responding to the jdbc call of the driver. Please check DB connection properties. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server . Please try to restart your MySQL Server and then verify the mysql connectivity from oozie host. .
... View more
06-27-2019
03:47 AM
@Chhaya Vishwakarma As you are using PPC system so can you please try using the PPC repo instead? # wget -nv http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
# yum clean all
# yum upgrade ambari-server https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation-ppc/content/download_the_ambari_repo.html Your ambari.repo should be looking like this for IBM Power Systems (PPC) #VERSION_NUMBER=2.7.3.0-139
[ambari-2.7.3.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.3.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1 .
... View more
06-27-2019
03:02 AM
@Chhaya Vishwakarma May be your ambari binaries are already upgraded. Can you please share the output of the following command? Does it show 2.7.3 ? # rpm -qa | grep ambari . If you see that ambari server binaries are already updated then you can take AMbari Server DB dump and then go for ambari server schema upgrade as described in following link . Upgrade Ambari Server database schema. On the host running Ambari Server: # ambari-server upgrade https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/upgrade_ambari.html
... View more
06-26-2019
02:01 PM
@Nani Bigdata Does it answers your query? Or do you have any additional query in this regard? If not then please mark this HCC thread as resolved by clicking on the "Accept" Button.
... View more
06-26-2019
01:47 PM
1 Kudo
@Krishna Srinivas The above queries which you shared ... Unfortunately deletes the "HBase Service" completely from Ambari DB. Which means Ambari will not show that HBase service anymode in the Ambari UI as, an Installed service. But it is best if you can take a backup of the "hbase.rootdir" property of your HBase just to avoid loosing the Hbase Data. Then in Ambari UI click on "Add Service" and then choose "Hbase" to install it on the same host. To see if it works?
... View more