This is an automated email from the ASF dual-hosted git repository.

vbalaji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b150a3  [HUDI-230] Add missing Apache License in some files
8b150a3 is described below

commit 8b150a3c6bf76e8029fda82a8a4e181b7a026980
Author: leesf <[email protected]>
AuthorDate: Fri Aug 30 17:09:47 2019 +0800

    [HUDI-230] Add missing Apache License in some files
---
 .travis.yml                                            | 15 +++++++++++++++
 _config.yml                                            | 15 +++++++++++++++
 deploy/maven/sonatype-settings.xml                     | 16 ++++++++++++++++
 .../docker-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 e34d356..9667629 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 2f7efbe..e1e7b88 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 b0bda88..cdd9f94 100644
--- a/deploy/maven/sonatype-settings.xml
+++ b/deploy/maven/sonatype-settings.xml
@@ -1,3 +1,19 @@
+<!--
+  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.
+-->
 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
diff --git a/docker/compose/docker-compose_hadoop284_hive233_spark231.yml 
b/docker/compose/docker-compose_hadoop284_hive233_spark231.yml
index 2f539ae..05eb92f 100644
--- a/docker/compose/docker-compose_hadoop284_hive233_spark231.yml
+++ b/docker/compose/docker-compose_hadoop284_hive233_spark231.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.
+
 version: "3.3"
 
 services:
diff --git a/docker/setup_demo.sh b/docker/setup_demo.sh
index ed3d15c..83c6200 100755
--- a/docker/setup_demo.sh
+++ b/docker/setup_demo.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 
################################################################################
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
diff --git a/docker/stop_demo.sh b/docker/stop_demo.sh
index c2960f5..e795f25 100755
--- a/docker/stop_demo.sh
+++ b/docker/stop_demo.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 
################################################################################
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
diff --git a/hudi-cli/hudi-cli.sh b/hudi-cli/hudi-cli.sh
index 8b12f6e..fee3c8c 100755
--- a/hudi-cli/hudi-cli.sh
+++ b/hudi-cli/hudi-cli.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.
+################################################################################
+
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 HOODIE_JAR=`ls $DIR/target/hudi-cli-*-SNAPSHOT.jar | grep -v source | grep -v 
javadoc`
 if [ -z "$HADOOP_CONF_DIR" ]; then
diff --git a/hudi-hive/run_sync_tool.sh b/hudi-hive/run_sync_tool.sh
index 0a39c09..cd58db3 100755
--- a/hudi-hive/run_sync_tool.sh
+++ b/hudi-hive/run_sync_tool.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/hudi-spark/run_hoodie_app.sh b/hudi-spark/run_hoodie_app.sh
index 8c2e54b..17ba925 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 8666f1a..6192738 100644
--- a/release/config/license-mappings.xml
+++ b/release/config/license-mappings.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  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.
+-->
 <license-lookup 
xmlns="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup
 
https://source.jasig.org/schemas/maven-notice-plugin/license-lookup/license-lookup-v1.0.xsd";>
     <artifact>
         <groupId>asm</groupId>
diff --git a/style/checkstyle-suppressions.xml 
b/style/checkstyle-suppressions.xml
index 9d2e326..cca4efc 100644
--- a/style/checkstyle-suppressions.xml
+++ b/style/checkstyle-suppressions.xml
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
- 
+<!--
+ 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.
+-->
 <!DOCTYPE suppressions PUBLIC
      "-//Puppy Crawl//DTD Suppressions 1.0//EN"
      "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd";>
diff --git a/style/checkstyle.xml b/style/checkstyle.xml
index 40ec255..268fefc 100644
--- a/style/checkstyle.xml
+++ b/style/checkstyle.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  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.
+-->
 <!DOCTYPE module PUBLIC
           "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
           "http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd";>
diff --git a/style/eclipse-java-google-style.xml 
b/style/eclipse-java-google-style.xml
index d1af289..8b1a67a 100644
--- a/style/eclipse-java-google-style.xml
+++ b/style/eclipse-java-google-style.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  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.
+-->
 <profiles version="13">
 <profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
 <setting 
id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" 
value="insert"/>
diff --git a/style/intellij-java-google-style.xml 
b/style/intellij-java-google-style.xml
index 658087e..f8b0f5e 100644
--- a/style/intellij-java-google-style.xml
+++ b/style/intellij-java-google-style.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="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 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.
+-->
 <code_scheme name="GoogleStyle">
   <option name="OTHER_INDENT_OPTIONS">
     <value>
diff --git a/style/scalastyle-config.xml b/style/scalastyle-config.xml
index e7e41a1..388afbf 100644
--- a/style/scalastyle-config.xml
+++ b/style/scalastyle-config.xml
@@ -1,3 +1,19 @@
+<!--
+  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.
+-->
 <scalastyle>
  <name>Scalastyle standard configuration</name>
  <check level="warning" class="org.scalastyle.file.FileTabChecker" 
enabled="true"></check>
diff --git a/tools/run_travis_tests.sh b/tools/run_travis_tests.sh
index 51a34e4..f0f017a 100755
--- a/tools/run_travis_tests.sh
+++ b/tools/run_travis_tests.sh
@@ -1,5 +1,23 @@
 #!/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.
+################################################################################
+
 mode=$1
 
 if [ "$mode" = "unit" ];

Reply via email to