AMBARI-20256. Auto Hive 2.0 instance is missing permission for default Ambari 
roles. (dipayanb)


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

Branch: refs/heads/branch-dev-logsearch
Commit: a92b7c80210ab180c6782600c38c0566e8d9acb6
Parents: 7e8a815
Author: Dipayan Bhowmick <dipayan.bhowm...@gmail.com>
Authored: Wed Mar 8 00:59:27 2017 +0530
Committer: Dipayan Bhowmick <dipayan.bhowm...@gmail.com>
Committed: Wed Mar 8 00:59:27 2017 +0530

----------------------------------------------------------------------
 contrib/views/hive20/src/main/resources/view.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a92b7c80/contrib/views/hive20/src/main/resources/view.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/view.xml 
b/contrib/views/hive20/src/main/resources/view.xml
index 37ddf56..f0e9e34 100644
--- a/contrib/views/hive20/src/main/resources/view.xml
+++ b/contrib/views/hive20/src/main/resources/view.xml
@@ -395,5 +395,12 @@
         <services>
             <service>HIVE</service>
         </services>
+        <roles>
+            <role>CLUSTER.ADMINISTRATOR</role>
+            <role>CLUSTER.OPERATOR</role>
+            <role>SERVICE.ADMINISTRATOR</role>
+            <role>SERVICE.OPERATOR</role>
+            <role>CLUSTER.USER</role>
+        </roles>
     </auto-instance>
 </view>

Reply via email to