Member since
09-29-2015
32
Posts
41
Kudos Received
6
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5096 | 01-20-2017 06:15 PM | |
2391 | 01-07-2017 12:41 AM | |
4641 | 12-20-2016 10:57 PM | |
5817 | 11-05-2015 07:20 PM | |
3595 | 09-29-2015 01:56 AM |
12-28-2016
06:00 PM
1 Kudo
You should also be able to specify the condition IsActiveMaster=false to have the API respond with non-active HBaseMasters only. Instead of saying "fields=metrics/hbase/master/IsActiveMaster" in the query, you can turn that into a predicate by saying "metrics/hbase/master/IsActiveMaster=false".
... View more
12-20-2016
11:01 PM
Since Grafana was introduced in Ambari 2.2.2, the sandbox from an older version would not have had the port forwarding rule for Grafana UI that listens on port 3000.
... View more
12-20-2016
10:57 PM
2 Kudos
It seems like the Grafana daemon is up. Is your Virtualbox set up to port forward 3000? If you do "curl http://localhost:3000" from inside the VM's SSH, what do you see?
... View more
04-22-2016
06:32 AM
1 Kudo
Elitsa, There are two ways to register hosts with Ambari: automatically via SSH by supplying a private key to Ambari (as you have done) or manually (by running yum install ambari-agent on the host, modifying /etc/ambari-agent/conf/ambari-agent.ini's "hostname" line to the Ambari's hostname, and running "ambari agent start"). When using the SSH method, Ambari does NOT store the SSH private key that you supplied (it is used once to do passwordless SSH into the server to set up the agent and discarded). So there's no way or need to "change the private key" in Ambari.
... View more
11-05-2015
08:08 PM
1 Kudo
You can replace sync_type to specific (from existing), and add names attribute with a comma-delimited list of users/groups. Here's an example: curl -uadmin:admin -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs": [{"principal_type": "users", "sync_type": "specific", "names": "bill,jenny,mike"},{"principal_type":"groups","sync_type":"specific", "names": "group1,group2"}]}}]' http://localhost:8080/api/v1/ldap_sync_events
... View more
11-05-2015
07:20 PM
6 Kudos
Try: curl -uadmin:admin -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs": [{"principal_type": "users", "sync_type": "existing"}, {"principal_type": "groups", "sync_type": "existing"}]}}]' http://localhost:8080/api/v1/ldap_sync_events You will get a response like: {
"resources" : [
{
"href" : "http://localhost:8080/api/v1/ldap_sync_events/13",
"Event" : {
"id" : 13
}
}
]
} You can GET on this href to get status of the sync: curl -uadmin:admin http://localhost:8080/api/v1/ldap_sync_events/13
{
"href" : "http://localhost:8080/api/v1/ldap_sync_events/13",
"Event" : {
"id" : 13,
"specs" : [
{
"sync_type" : "existing",
"principal_type" : "users"
},
{
"sync_type" : "existing",
"principal_type" : "groups"
}
],
"status" : "COMPLETE",
"status_detail" : "Completed LDAP sync.",
"summary" : {
"groups" : {
"created" : 0,
"removed" : 0,
"updated" : 0
},
"memberships" : {
"created" : 0,
"removed" : 0
},
"users" : {
"created" : 0,
"removed" : 0,
"updated" : 0
}
},
"sync_time" : {
"end" : 1446751142546,
"start" : 1446751142462
}
}
}
... View more
10-31-2015
08:25 AM
1 Kudo
I would be great if someone can play around and come up with useful and practical Grafana dashboards with the Ambari data source. We can publish these so others can import.
... View more
10-31-2015
08:12 AM
16 Kudos
Grafana is a popular, open-source graph and dashboard builder ( licensed under Apache License, Version 2.0). Grafana is feature rich; not only does it let users create customizable and shareable dashboards, it also offers templated/scripted dashboards, LDAP integration, multiple data sources, and more. Out of the box, Grafana supports data sources such as Graphite, OpenTSDB, ElasticSearch, InfluxDB, CloudWatch, and etc. Luckily, the data source part is pluggable; it was not too difficult to create an Ambari data source for it: https://github.com/u39kun/ambari-grafana It works for all service metrics currently exposed via Ambari: HDFS, YARN, HBase, Storm, Kafka, Flume, Accumulo, and Ambari Metrics. It supports typeahead of component names and their associated metrics, as well as aggregation (“avg”, “sum”, “min”, and “max” of metrics across all instances of the specified component). Host Metrics are not supported yet, but it shouldn't be too difficult to add. Please visit https://github.com/u39kun/ambari-grafana/blob/master/README.md for detailed and easy-to-follow instructions on how to install and use Grafana with Ambari as a data source. Note: Development of the Ambari data source in Grafana was done against Ambari 2.1.2 + HDP 2.3.
... View more
Labels:
10-02-2015
05:52 PM
Did adding smokeuser work, @wgonzalez@hortonworks.com?
... View more
09-29-2015
02:21 AM
1 Kudo
Sounds like https://hortonworks.jira.com/browse/BUG-41647. Does your Hive JDBC URL contain FQDN? If not, YARN config page won't load in Ambari 2.1.0. This was fixed in 2.1.1.
... View more
- « Previous
-
- 1
- 2
- Next »