Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1920 | 06-15-2020 05:23 AM | |
| 15466 | 01-30-2020 08:04 PM | |
| 2072 | 07-07-2019 09:06 PM | |
| 8118 | 01-27-2018 10:17 PM | |
| 4571 | 12-31-2017 10:12 PM |
04-26-2020
03:20 AM
hi all in ambari we have the following hive components how to stop Hive Metastore and HiveServer2 by cli ?
... View more
Labels:
- Labels:
-
Apache Hive
04-24-2020
07:08 AM
please give some screenshot from ambari as you know each service have a log file , try to see what are the details from the log
... View more
04-01-2020
02:10 AM
Dear Jay , can you help me with my post - https://community.cloudera.com/t5/Support-Questions/how-to-use-Ambari-API-to-add-host-to-new-config-group/td-p/293016
... View more
03-31-2020
12:51 AM
hi all
what could be the reason that sometimes we get - REASON: Server not yet listening on http port 8080 when we start the ambari server and sometimes its start successfully ?
ambari-server start Using python /usr/bin/python Starting ambari-server Ambari Server running with administrator privileges. Organizing resource files at /var/lib/ambari-server/resources... Ambari database consistency check started... Server PID at: /var/run/ambari-server/ambari-server.pid Server out at: /var/log/ambari-server/ambari-server.out Server log at: /var/log/ambari-server/ambari-server.log Waiting for server start............................................................ DB configs consistency check: no errors and warnings were found. ERROR: Exiting with exit code 1. REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.
# ambari-server start Using python /usr/bin/python Starting ambari-server Ambari Server running with administrator privileges. Organizing resource files at /var/lib/ambari-server/resources... Ambari database consistency check started... Server PID at: /var/run/ambari-server/ambari-server.pid Server out at: /var/log/ambari-server/ambari-server.out Server log at: /var/log/ambari-server/ambari-server.log Waiting for server start....................................... Server started listening on 8080
DB configs consistency check: no errors and warnings were found. Ambari Server 'start' completed successfully.
... View more
Labels:
- Labels:
-
Apache Ambari
02-27-2020
04:25 PM
1 Kudo
Dear Jay when we run the API we get the following master02 - is the machine with ambari server kafka01 - is the first kafka machine where we are wrong ? curl -iskH "X-Requested-By: ambari" -u admin:admin -X PUT -d '{"RequestInfo":{"context":"Stop Kafka Broker","operation_level":{"level":"HOST_COMPONENT","cluster_name":"NwCluster","host_name":"kafka01","service_name":"KAFKA"}},"Body":{"HostRoles":{"state":"INSTALLED"}}}' http://master02:8080/api/v1/clusters/HDP_SYS76/hosts/kafka01/host_components/KAFKA_BROKER HTTP/1.1 404 Not Found X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Cache-Control: no-store Pragma: no-cache Set-Cookie: AMBARISESSIONID=15lniq8gcyggwudtsp5sd70fp;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT User: admin Content-Type: text/plain Content-Length: 243 { "status" : 404, "message" : "org.apache.ambari.server.controller.spi.NoSuchParentResourceException: Parent Host resource doesn't exist. Host not found, cluster=HDP_SYS76, hostname=kafka01. Host not found, cluster=HDP_SYS76, hostname=kafka01"
... View more
02-27-2020
04:11 PM
Dear Jay +1 for your excellent answer I will test this API soon when I will come to office , I will update soon
... View more
02-27-2020
01:39 PM
1 Kudo
hi all
in ambari we have kafka service , and this service include 7 kafka brokers
how to stop/start the kafka broker on specific host?
in this example kafka service contain the following kafka broker hosts
kafka01
kafka02
kafka03
kafka04
kafka05
kafka06
kafka07
other repleted post - https://community.cloudera.com/t5/Support-Questions/how-to-identify-alert-from-kafka-service-in-ambari-by-REST/m-p/284675#M211372
... View more
Labels:
- Labels:
-
Apache Ambari
02-27-2020
08:30 AM
hi all
in our cluster HDP - 2.6.4 , we have kafka cluster with 11 nodes ( 11 machines )
restart the kafka service , from AMBARI REST API , will stop/start is brutal
when we do it from rest API then its cause corrupted indexes files in kafka topic partitions
what we search is , ambari rest API that do the restart in parallel
for example
first stop kafka01
then
start kafka01
wait until alert gone (from ambari)
then stop kafka02 , and start kafka02
etc....
is this process could be done by ambari rest API?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Kafka
02-24-2020
10:11 PM
Dear Jay what to say - you are the best , well done
... View more
02-24-2020
09:45 PM
also this is what we get from "ops" in ambari you can see that ambari identify this as "$service" and not as KAFKA
... View more