You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/02/28 23:51:11 UTC

git commit: AMBARI-4791. API call to restart all components on one or more hosts should result in one request. Typo in DDL. (swagle)

Repository: ambari
Updated Branches:
  refs/heads/trunk 4e0ffac5b -> 61828bd41


AMBARI-4791. API call to restart all components on one or more hosts should result in one request. Typo in DDL. (swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61828bd4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61828bd4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61828bd4

Branch: refs/heads/trunk
Commit: 61828bd41a8d6c15a0fff808e69106e4b641c6fd
Parents: 4e0ffac
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Fri Feb 28 14:50:29 2014 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Fri Feb 28 14:50:48 2014 -0800

----------------------------------------------------------------------
 ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/61828bd4/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
index c3b629d..57c0558 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
@@ -83,7 +83,7 @@ CREATE TABLE ambari.request (request_id BIGINT NOT NULL, cluster_id BIGINT, comm
 GRANT ALL PRIVILEGES ON TABLE ambari.request TO :username;
 
 CREATE TABLE ambari.requestresourcefilter (filter_id BIGINT NOT NULL, request_id BIGINT NOT NULL, service_name VARCHAR(255), component_name VARCHAR(255), hosts TEXT, PRIMARY KEY (filter_id));
-GRANT ALL PRIVILEGES ON TABLE ambari.request TO :username;
+GRANT ALL PRIVILEGES ON TABLE ambari.requestresourcefilter TO :username;
 
 CREATE TABLE ambari.ClusterHostMapping (cluster_id BIGINT NOT NULL, host_name VARCHAR(255) NOT NULL, PRIMARY KEY (cluster_id, host_name));
 GRANT ALL PRIVILEGES ON TABLE ambari.ClusterHostMapping TO :username;