Browse Source

[MINOR] Add License header to configuration templates

Luciano Resende 7 years ago
parent
commit
59dee63274

+ 0 - 1
.rat-excludes

@@ -1,6 +1,5 @@
 .rat-excludes
 .rat-excludes
 logs/*
 logs/*
-conf/*
 **/*.conf
 **/*.conf
 **/*.json
 **/*.json
 **/*.md
 **/*.md

+ 17 - 0
conf/livy-client.conf.template

@@ -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.
+#
+
 #
 #
 # Configurations for a Livy Client, any configurations set here will override any
 # Configurations for a Livy Client, any configurations set here will override any
 # livy or spark-default configurations.
 # livy or spark-default configurations.

+ 17 - 1
conf/livy.conf.template

@@ -1,3 +1,19 @@
+#
+# 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.
+#
 # Use this keystore for the SSL certificate and key.
 # Use this keystore for the SSL certificate and key.
 # livy.keystore =
 # livy.keystore =
 
 
@@ -122,4 +138,4 @@
 
 
 # A list of users with comma separated has the permission to view other user's infomation, like
 # A list of users with comma separated has the permission to view other user's infomation, like
 # submitted session state, statement results.
 # submitted session state, statement results.
-# livy.server.access-control.view-users =
+# livy.server.access-control.view-users =

+ 1 - 0
conf/log4j.properties.template

@@ -1,3 +1,4 @@
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
 # this work for additional information regarding copyright ownership.

+ 16 - 0
conf/spark-blacklist.conf.template

@@ -1,4 +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.
+#
+#
 # Configuration override / blacklist. Defines a list of properties that users are not allowed
 # Configuration override / blacklist. Defines a list of properties that users are not allowed
 # to override when starting Spark sessions.
 # to override when starting Spark sessions.
 #
 #