aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2013-07-16 17:21:33 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2013-07-16 17:21:33 -0700
commitaf3c9d50424602f3e5af1055e83e9badef0a1632 (patch)
tree0a1916809bb9460630ff9263f841e1efb2b8be03 /ec2
parent00a14deb6d9b6d89e0ddbe1540636622b1dc4d16 (diff)
downloadspark-af3c9d50424602f3e5af1055e83e9badef0a1632.tar.gz
spark-af3c9d50424602f3e5af1055e83e9badef0a1632.tar.bz2
spark-af3c9d50424602f3e5af1055e83e9badef0a1632.zip
Add Apache license headers and LICENSE and NOTICE files
Diffstat (limited to 'ec2')
-rwxr-xr-xec2/spark-ec22
-rwxr-xr-xec2/spark_ec2.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/ec2/spark-ec2 b/ec2/spark-ec2
index 2714f19ba3..454057aa0d 100755
--- a/ec2/spark-ec2
+++ b/ec2/spark-ec2
@@ -1,5 +1,6 @@
#!/bin/sh
+#
# 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
@@ -15,6 +16,7 @@
# 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.
+#
cd "`dirname $0`"
PYTHONPATH="./third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" python ./spark_ec2.py $@
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 7affe6fffc..2ec3c007fb 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+#
# 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
@@ -16,6 +17,7 @@
# 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.
+#
from __future__ import with_statement