Member since
12-10-2015
24
Posts
13
Kudos Received
0
Solutions
12-12-2016
02:26 PM
You're making a requests against a plaintext (http) endpoint and Ambari (or whatever is sitting in front of Ambari) is redirecting you to an SSL endpoint (https). You need to make the request against the correct endpoint, namely: https://test-cluster:8080/api/v1/clusters/Analytics_CP1_Dev_Test/alert_definitions/1233
... View more
08-19-2016
07:10 PM
That is correct; Alerts only have the ability to read from JMX metrics in Ambari 2.2.x. In Ambari 2.4, https://issues.apache.org/jira/browse/AMBARI-15766 adds the ability to read metrics from AMS. So you could potentially use that when 2.4.0 is released.
... View more
08-05-2016
03:03 AM
@Amey Jain I am assuming you are following the instructions on this page: https://cwiki.apache.org/confluence/display/AMBARI/Writing+metainfo.xml Try defining a port in stack_features.json file or in the config file https://cwiki.apache.org/confluence/display/AMBARI/Defining+a+Custom+Stack+and+Services https://cwiki.apache.org/confluence/display/AMBARI/Stack+Properties
... View more
07-03-2016
07:01 AM
Build using skip tests https://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html mvn install -DskipTests
... View more
07-21-2016
07:46 PM
Did you solved the issue? We have the same erros in our 2.4.2 cluster. ERROR [alert-event-bus-2] AlertReceivedListener:341 - Unable to process alert ams_metrics_monitor_process for an invalid cluster named XXXX. WARN [qtp-ambari-client-68] ViewRegistry:855 - Could not find the cluster identified by XXXX.
... View more
06-22-2016
02:11 AM
Got it. Tried it on a different cluster and this is working
... View more
04-16-2019
01:08 PM
Referring to the PUT command used for triggering the alert manually, Is it possible to pass some parameters/custom information to the script which gets trigged by the alert ? If yes, is it via headers OR body of the PUT request ? Thanks.
... View more
08-19-2016
06:57 PM
change the "connection_timeout": 5.0 field in the alert definition using a put call. Thats present in your json as well
... View more
06-17-2016
12:05 AM
Check ambari database in tables ambari.clusterservices ambari.hostcomponentstate for service name you are seeing in the logs.
... View more
04-30-2016
09:45 AM
+1 Another solution is to comment out hive.tez.java.opts in that sql file and manage the GC from Ambari.
... View more
05-12-2016
11:04 AM
Is their a way to execute this on (HDP 2.4 Sandbox - Virtualbox) (as the command line is working but the service does not get visible in Ambari after restarting)
... View more
01-06-2016
09:35 PM
@Ali Bajwalooks like the link your are saying is cassandra service is not correct. It takes me to trunk.
... View more
02-16-2016
06:41 PM
Yes but this repo does not implement service check. Check my repo.So still no answer to my question. @Mark Herring may I know what I missed here. My question is still unanswered.
... View more
01-03-2017
12:02 PM
@Neeraj Sabharwal I tried changing the description from the ambari UI but it didn't work. Then I tried modifying the alert_disk_space.py script with PERCENT_USED_WARNING_DEFAULT = 60 and restarted my ambari server. but still I can't see the changes from the UI. And my alert which got generated for 50% utilization still exist. Please advise.
... View more