You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/04/22 21:08:08 UTC

git commit: AMBARI-5531. Switch SQL standard authorization to be off by default. (srimanth)

Repository: ambari
Updated Branches:
  refs/heads/trunk d35e3cd58 -> 9a4cef789


AMBARI-5531. Switch SQL standard authorization to be off by default. (srimanth)


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

Branch: refs/heads/trunk
Commit: 9a4cef7890309ddc042163fd31c8e18bd2af77fc
Parents: d35e3cd
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue Apr 22 12:02:35 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue Apr 22 12:02:42 2014 -0700

----------------------------------------------------------------------
 .../2.1/services/HIVE/configuration/hive-site.xml  |  2 +-
 .../data/configurations/cluster_level_configs.json |  2 +-
 .../templates/main/service/info/metric_graphs.hbs  | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9a4cef78/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
index bd9502e..781fdcb 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
@@ -108,7 +108,7 @@ limitations under the License.
 
   <property>
     <name>hive.security.authorization.enabled</name>
-    <value>true</value>
+    <value>false</value>
     <description>enable or disable the hive client authorization</description>
   </property>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/9a4cef78/ambari-web/app/assets/data/configurations/cluster_level_configs.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/configurations/cluster_level_configs.json b/ambari-web/app/assets/data/configurations/cluster_level_configs.json
index 54966b2..c02317a 100644
--- a/ambari-web/app/assets/data/configurations/cluster_level_configs.json
+++ b/ambari-web/app/assets/data/configurations/cluster_level_configs.json
@@ -126,7 +126,7 @@
         "fs.hdfs.impl.disable.cache" : "true",
         "javax.jdo.option.ConnectionURL" : "jdbc:mysql://dev.hortonworks.com/hive?createDatabaseIfNotExist=true",
         "hive.semantic.analyzer.factory.impl" : "org.apache.hivealog.cli.HCatSemanticAnalyzerFactory",
-        "hive.security.authorization.enabled" : "true",
+        "hive.security.authorization.enabled" : "false",
         "javax.jdo.option.ConnectionUserName" : "hive",
         "hive.server2.enable.doAs" : "true",
         "hive.metastore.client.socket.timeout" : "60",

http://git-wip-us.apache.org/repos/asf/ambari/blob/9a4cef78/ambari-web/app/templates/main/service/info/metric_graphs.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/metric_graphs.hbs b/ambari-web/app/templates/main/service/info/metric_graphs.hbs
index f2aaf5b..7bbd3a4 100644
--- a/ambari-web/app/templates/main/service/info/metric_graphs.hbs
+++ b/ambari-web/app/templates/main/service/info/metric_graphs.hbs
@@ -1,3 +1,20 @@
+{{!
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+}}
 <table class="graphs">
   {{#each graphs in view.serviceMetricGraphs}}
     <tr>