From 8b150a3c6bf76e8029fda82a8a4e181b7a026980 Mon Sep 17 00:00:00 2001 From: leesf <490081539@qq.com> Date: Fri, 30 Aug 2019 17:09:47 +0800 Subject: [PATCH] [HUDI-230] Add missing Apache License in some files --- .travis.yml | 15 +++++++++++++++ _config.yml | 15 +++++++++++++++ deploy/maven/sonatype-settings.xml | 16 ++++++++++++++++ ...cker-compose_hadoop284_hive233_spark231.yml | 15 +++++++++++++++ docker/setup_demo.sh | 2 ++ docker/stop_demo.sh | 2 ++ hudi-cli/hudi-cli.sh | 18 ++++++++++++++++++ hudi-hive/run_sync_tool.sh | 18 ++++++++++++++++++ hudi-spark/run_hoodie_app.sh | 18 ++++++++++++++++++ release/config/license-mappings.xml | 16 ++++++++++++++++ style/checkstyle-suppressions.xml | 17 ++++++++++++++++- style/checkstyle.xml | 16 ++++++++++++++++ style/eclipse-java-google-style.xml | 16 ++++++++++++++++ style/intellij-java-google-style.xml | 16 ++++++++++++++++ style/scalastyle-config.xml | 16 ++++++++++++++++ tools/run_travis_tests.sh | 18 ++++++++++++++++++ 16 files changed, 233 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e34d3565c..9667629a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,18 @@ +# 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. + language: java jdk: - oraclejdk8 diff --git a/_config.yml b/_config.yml index 2f7efbeab..e1e7b8846 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,16 @@ +# 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. + theme: jekyll-theme-minimal \ No newline at end of file diff --git a/deploy/maven/sonatype-settings.xml b/deploy/maven/sonatype-settings.xml index b0bda8878..cdd9f9468 100644 --- a/deploy/maven/sonatype-settings.xml +++ b/deploy/maven/sonatype-settings.xml @@ -1,3 +1,19 @@ + &2 ## Send message to stderr. Exclude >&2 if you don't want it that way. exit "${2:-1}" ## Return a code specified by $2 or 1 by default. diff --git a/hudi-spark/run_hoodie_app.sh b/hudi-spark/run_hoodie_app.sh index 8c2e54b05..17ba925a8 100755 --- a/hudi-spark/run_hoodie_app.sh +++ b/hudi-spark/run_hoodie_app.sh @@ -1,5 +1,23 @@ #!/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. +################################################################################ + function error_exit { echo "$1" >&2 ## Send message to stderr. Exclude >&2 if you don't want it that way. exit "${2:-1}" ## Return a code specified by $2 or 1 by default. diff --git a/release/config/license-mappings.xml b/release/config/license-mappings.xml index 8666f1a05..61927389f 100644 --- a/release/config/license-mappings.xml +++ b/release/config/license-mappings.xml @@ -1,4 +1,20 @@ + asm diff --git a/style/checkstyle-suppressions.xml b/style/checkstyle-suppressions.xml index 9d2e32615..cca4efc97 100644 --- a/style/checkstyle-suppressions.xml +++ b/style/checkstyle-suppressions.xml @@ -1,5 +1,20 @@ - + diff --git a/style/checkstyle.xml b/style/checkstyle.xml index 40ec255f8..268fefc0b 100644 --- a/style/checkstyle.xml +++ b/style/checkstyle.xml @@ -1,4 +1,20 @@ + diff --git a/style/eclipse-java-google-style.xml b/style/eclipse-java-google-style.xml index d1af2890b..8b1a67ad4 100644 --- a/style/eclipse-java-google-style.xml +++ b/style/eclipse-java-google-style.xml @@ -1,4 +1,20 @@ + diff --git a/style/intellij-java-google-style.xml b/style/intellij-java-google-style.xml index 658087ef6..f8b0f5e88 100644 --- a/style/intellij-java-google-style.xml +++ b/style/intellij-java-google-style.xml @@ -1,4 +1,20 @@ +