From dfc6fa4e7c48ed22927785c28f4b543bfd9ec48e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 9 Aug 2011 07:10:53 +0000 Subject: [PATCH] SQOOP-310 Review license headers start working on build/configuration files git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1155235 13f79535-47bb-0310-9956-ffa450edef68 --- .gitignore | 26 +++++++++++++------------ COMPILING.txt | 26 +++++++++++++------------ conf/sqoop-site-template.xml | 26 +++++++++++++------------ ivy.xml | 30 +++++++++++++++-------------- ivy/ivysettings.xml | 26 +++++++++++++------------ ivy/libraries.properties | 30 +++++++++++++++-------------- ivy/sqoop-test.xml | 30 +++++++++++++++-------------- ivy/sqoop.xml | 30 +++++++++++++++-------------- src/scripts/create-tool-scripts.sh | 26 +++++++++++++------------ src/scripts/rat-violations.sh | 26 +++++++++++++------------ src/scripts/relnotes.py | 26 +++++++++++++------------ src/scripts/tool-script.sh.template | 26 +++++++++++++------------ testdata/hive/bin/hive | 26 +++++++++++++------------ 13 files changed, 190 insertions(+), 164 deletions(-) diff --git a/.gitignore b/.gitignore index 3fefae12..66187b63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,19 @@ -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. /build *~ .classpath diff --git a/COMPILING.txt b/COMPILING.txt index d403dc1d..9f70edbb 100644 --- a/COMPILING.txt +++ b/COMPILING.txt @@ -4,20 +4,22 @@ This document explains how to compile Sqoop. //// - Licensed to Cloudera, Inc. under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - Cloudera, Inc. 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 +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 + 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. +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. //// diff --git a/conf/sqoop-site-template.xml b/conf/sqoop-site-template.xml index 5d5a3588..eccd168e 100644 --- a/conf/sqoop-site-template.xml +++ b/conf/sqoop-site-template.xml @@ -1,20 +1,22 @@ diff --git a/ivy.xml b/ivy.xml index b6c4830d..af4f0118 100644 --- a/ivy.xml +++ b/ivy.xml @@ -1,19 +1,21 @@ diff --git a/ivy/sqoop.xml b/ivy/sqoop.xml index 7f455fc0..d805b98e 100644 --- a/ivy/sqoop.xml +++ b/ivy/sqoop.xml @@ -1,19 +1,21 @@ diff --git a/src/scripts/create-tool-scripts.sh b/src/scripts/create-tool-scripts.sh index 52c13a81..fb539015 100755 --- a/src/scripts/create-tool-scripts.sh +++ b/src/scripts/create-tool-scripts.sh @@ -1,19 +1,21 @@ #!/bin/bash # -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. # Arguments to this script: # The output directory for the result scripts diff --git a/src/scripts/rat-violations.sh b/src/scripts/rat-violations.sh index 6f3b8e34..5f8e0a12 100755 --- a/src/scripts/rat-violations.sh +++ b/src/scripts/rat-violations.sh @@ -1,19 +1,21 @@ #!/bin/bash # -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. # # # rat-violations.sh diff --git a/src/scripts/relnotes.py b/src/scripts/relnotes.py index 253dcd5f..ecf42733 100644 --- a/src/scripts/relnotes.py +++ b/src/scripts/relnotes.py @@ -1,19 +1,21 @@ #!/usr/bin/env/python # -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. # # # diff --git a/src/scripts/tool-script.sh.template b/src/scripts/tool-script.sh.template index 2f4ec62c..a4902a8e 100644 --- a/src/scripts/tool-script.sh.template +++ b/src/scripts/tool-script.sh.template @@ -1,19 +1,21 @@ #!/bin/bash # -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. prgm=`readlink -f $0` bin=`dirname ${prgm}` diff --git a/testdata/hive/bin/hive b/testdata/hive/bin/hive index 3c774e19..c24d39a3 100755 --- a/testdata/hive/bin/hive +++ b/testdata/hive/bin/hive @@ -1,19 +1,21 @@ #!/usr/bin/env bash -# Licensed to Cloudera, Inc. under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# Cloudera, Inc. 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 +# 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 +# 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. +# 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. # This is a mock "Hive" shell that validates whether various test imports # succeeded. It accepts commands of the form 'hive -f scriptname'