You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by ab...@apache.org on 2018/07/02 17:37:44 UTC

[4/4] incubator-gobblin git commit: Add Apache license header to launcher scripts for cluster, service and test

Add Apache license header to launcher scripts for cluster, service and test


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/f543a39a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/f543a39a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/f543a39a

Branch: refs/heads/master
Commit: f543a39a4e69ebbdf4b948323892bdd6efe8c54a
Parents: 6bf7aff
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Mon Jul 2 23:07:23 2018 +0530
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Mon Jul 2 23:07:23 2018 +0530

----------------------------------------------------------------------
 bin/gobblin-cluster-master.sh                     | 17 +++++++++++++++++
 bin/gobblin-cluster-worker.sh                     | 17 +++++++++++++++++
 bin/gobblin-service.sh                            | 17 +++++++++++++++++
 gobblin-aws/src/test/resources/masterCloudInit.sh | 16 ++++++++++++++++
 gobblin-aws/src/test/resources/workerCloudInit.sh | 16 ++++++++++++++++
 5 files changed, 83 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-cluster-master.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-cluster-master.sh b/bin/gobblin-cluster-master.sh
index cd196d9..131c1cc 100755
--- a/bin/gobblin-cluster-master.sh
+++ b/bin/gobblin-cluster-master.sh
@@ -1,5 +1,22 @@
 #!/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.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-cluster-worker.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-cluster-worker.sh b/bin/gobblin-cluster-worker.sh
index 000a67d..80ed67a 100755
--- a/bin/gobblin-cluster-worker.sh
+++ b/bin/gobblin-cluster-worker.sh
@@ -1,5 +1,22 @@
 #!/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.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/bin/gobblin-service.sh
----------------------------------------------------------------------
diff --git a/bin/gobblin-service.sh b/bin/gobblin-service.sh
index 67b6cee..9df7b67 100644
--- a/bin/gobblin-service.sh
+++ b/bin/gobblin-service.sh
@@ -1,5 +1,22 @@
 #!/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.
+#
+
 # Print an error message and exit
 function die() {
   echo -e "\nError: $@\n" 1>&2

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/gobblin-aws/src/test/resources/masterCloudInit.sh
----------------------------------------------------------------------
diff --git a/gobblin-aws/src/test/resources/masterCloudInit.sh b/gobblin-aws/src/test/resources/masterCloudInit.sh
index 3284461..fd906e7 100644
--- a/gobblin-aws/src/test/resources/masterCloudInit.sh
+++ b/gobblin-aws/src/test/resources/masterCloudInit.sh
@@ -1,4 +1,20 @@
 #!/bin/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.
+#
 mkdir -p /home/ec2-user/cluster/1
 yum install nfs-utils nfs-utils-lib
 echo '/home/ec2-user/cluster *(rw,sync,no_subtree_check,fsid=1,no_root_squash)' | tee --append /etc/exports

http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f543a39a/gobblin-aws/src/test/resources/workerCloudInit.sh
----------------------------------------------------------------------
diff --git a/gobblin-aws/src/test/resources/workerCloudInit.sh b/gobblin-aws/src/test/resources/workerCloudInit.sh
index eca9be4..de3a342 100644
--- a/gobblin-aws/src/test/resources/workerCloudInit.sh
+++ b/gobblin-aws/src/test/resources/workerCloudInit.sh
@@ -1,4 +1,20 @@
 #!/bin/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.
+#
 mkdir -p /home/ec2-user/cluster
 mount -t nfs4 0.0.0.0:/home/ec2-user/cluster /home/ec2-user/cluster
 mkdir -p /home/ec2-user/cluster/log-dir/