AMBARI-19214 fix rat check failure (r-kamath)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c74df6f5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c74df6f5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c74df6f5 Branch: refs/heads/trunk Commit: c74df6f574a5c209208428bf4afba9ba0a394d9c Parents: f739912 Author: Renjith Kamath <renjith.kam...@gmail.com> Authored: Thu Dec 15 23:02:52 2016 +0530 Committer: Renjith Kamath <renjith.kam...@gmail.com> Committed: Thu Dec 15 23:03:54 2016 +0530 ---------------------------------------------------------------------- .../package/scripts/spark2_config_template.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c74df6f5/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/spark2_config_template.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/spark2_config_template.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/spark2_config_template.py index 0e81542..28a63c6 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/spark2_config_template.py +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/spark2_config_template.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +""" +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. + +""" + template = ''' { "id": "2C4U48MY3_spark2",