From 8fb955fd40551c1dd89b4540fc95ce3527e2b248 Mon Sep 17 00:00:00 2001 From: Denny Date: Sat, 4 Aug 2012 17:04:33 -0700 Subject: [PATCH] Add Apache license to non-trivial scripts taken from Hadoop. --- bin/slaves.sh | 15 +++++++++++++++ bin/spark-daemon.sh | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/bin/slaves.sh b/bin/slaves.sh index e0dd883358..d383e02545 100755 --- a/bin/slaves.sh +++ b/bin/slaves.sh @@ -1,5 +1,20 @@ #!/usr/bin/env bash +# 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. + # Run a shell command on all slave hosts. # # Environment Variables diff --git a/bin/spark-daemon.sh b/bin/spark-daemon.sh index b5ecd9c1a2..ae0b781291 100755 --- a/bin/spark-daemon.sh +++ b/bin/spark-daemon.sh @@ -1,5 +1,20 @@ #!/usr/bin/env bash +# 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. + # Runs a Spark command as a daemon. # # Environment Variables