Просмотр исходного кода

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

Srimanth Gunturi 11 лет назад
Родитель
Сommit
9a4cef7890

+ 1 - 1
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>
 

+ 1 - 1
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",

+ 17 - 0
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>