Member since
01-15-2016
28
Posts
6
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
4277 | 03-23-2017 07:37 PM | |
1677 | 07-28-2016 10:07 PM |
03-23-2017
07:44 PM
That worked like a charm Vineet. Appreciate that tip. It worked for me as well.
... View more
01-27-2017
07:11 PM
How to use Ambari View for HAWQ Query Monitoring?
This beta version of Ambari HAWQ View provides live query monitoring directly in Ambari UI, displaying a list of queries running in a HAWQ cluster. This allows admins to see the database activity on the UI in a user-friendly interface. The view front-end is based on EmberJS framework. The Java backend extends the framework provided by the ambari-views project. The front-end polls the REST API every 5 seconds, querying the pg_stat_activity view and rendering reformatted data on the UI. How to Deploy:
Deployment simply requires copying the hawq-view jar to the ambari-server host and restarting ambari-server.
ssh into ambari_server_host
$ cd /var/lib/ambari-server/resources/views/
$ curl -O https://s3-us-west-2.amazonaws.com/pivotal-ambari/stable/hawq-view/hawq-view-1.0.0.0-1.jar
$ ambari-server restart
Creating an Instance of HAWQ View:
a) The HAWQ View instance connects to the HAWQ Master through JDBC. Ensure that HAWQ pg_hba.conf is updated to allow JDBC connections from the ambari_server_host for the HAWQ View backend user account with access to pg_stat_activity view (you may use use gpadmin out-of-the-box for demo purposes).
SSH into the HAWQ Master host and update pg_hba.conf (in HAWQ Master Directory, e.g /data/hawq/master) to allow connections. Example of entry needed in pg_hba.conf, where 192.168.64.101 is the ambari_server_host and gpadmin is used to run the HAWQ View instance:
host all gpadmin 192.168.64.101/32 trust
Restart HAWQ Master via Ambari or CLI for pg_hba.conf changes to take effect.
b) Ensure that the steps above have been completed before proceeding. In Ambari UI, navigate to Admin > Manage Ambari > Views page. You should see a HAWQ view in the list. Click on Create Instance under HAWQ View. Under Settings section, provide the HAWQ username and password of the backend user account with access to pg_stat_activity view (the same user that was added to pg_hba.conf above).
Once saved, the view will be created and operational. Submit some (long running) queries and ensure they are displayed on the HAWQ View. You may hover over the queries to see the SQL statements. HAWQ Sandbox
You can always download a Sandbox VM with HAWQ pre-installed here: https://network.pivotal.io/products/pivotal-hdb Feedback
Please give this Ambari View a try and provide feedback by posting your comments below.
... View more
Labels:
11-17-2016
02:42 PM
Maybe this should be a separate HCC question. However if you are using HDF 2.x/ Nifi 1.0 with Ambari, you cannot install it on the same platform using Ambari and HDP2.5. It would have to be a separate Ambari install on another node, just for HDF
Perhaps you may need to contact us at Hortonworks to get us to understand your use case further.
... View more
11-12-2016
12:06 AM
For me this solved the problem. I was initially doing the cloud.cfg change on all the HAWQ hosts but ignoring one of the master nodes as it was not supposed to have HAWQ components. However, I had configured for using the YARN scheduler for which that node was master. This dependency was creating the above mentioned problem.
... View more
07-28-2016
10:07 PM
The links have been fixed. Now there is one generic home page link. Thanks!
... View more