This is an automated email from the ASF dual-hosted git repository. yihua pushed a commit to branch release-0.13.0 in repository https://gitbox.apache.org/repos/asf/hudi.git
commit acda6d01567819368f39b7e0667ad09f7d789c2d Author: Y Ethan Guo <[email protected]> AuthorDate: Sat Jan 28 02:31:51 2023 -0800 [MINOR] Add missing Apache License in source files (#7779) This commit adds the missing Apache License in some source files. --- .../src/main/resources/mybatis-config.xml | 15 ++++++++------- .../resources/schema-provider/proto/oneof_schema.avsc | 17 +++++++++++++++++ .../proto/parent_schema_recursive_default_limit.avsc | 17 +++++++++++++++++ .../proto/parent_schema_recursive_depth_2.avsc | 17 +++++++++++++++++ .../schema-provider/proto/sample_schema_defaults.avsc | 17 +++++++++++++++++ .../sample_schema_wrapped_and_timestamp_as_record.avsc | 17 +++++++++++++++++ packaging/hudi-metaserver-server-bundle/pom.xml | 16 ++++++++++++++++ 7 files changed, 109 insertions(+), 7 deletions(-) diff --git a/hudi-platform-service/hudi-metaserver/hudi-metaserver-server/src/main/resources/mybatis-config.xml b/hudi-platform-service/hudi-metaserver/hudi-metaserver-server/src/main/resources/mybatis-config.xml index 8610f8983dd..6259fc196cf 100644 --- a/hudi-platform-service/hudi-metaserver/hudi-metaserver-server/src/main/resources/mybatis-config.xml +++ b/hudi-platform-service/hudi-metaserver/hudi-metaserver-server/src/main/resources/mybatis-config.xml @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (C) 2016-2021 Expedia, Inc. - - Licensed 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 + 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, diff --git a/hudi-utilities/src/test/resources/schema-provider/proto/oneof_schema.avsc b/hudi-utilities/src/test/resources/schema-provider/proto/oneof_schema.avsc index 33330423794..344ba3aeff5 100644 --- a/hudi-utilities/src/test/resources/schema-provider/proto/oneof_schema.avsc +++ b/hudi-utilities/src/test/resources/schema-provider/proto/oneof_schema.avsc @@ -1,3 +1,20 @@ +/* + * 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. + */ { "type": "record", "name": "WithOneOf", diff --git a/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_default_limit.avsc b/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_default_limit.avsc index 91d9797347e..573a9369170 100644 --- a/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_default_limit.avsc +++ b/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_default_limit.avsc @@ -1,3 +1,20 @@ +/* + * 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. + */ { "type" : "record", "name" : "Parent", diff --git a/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_depth_2.avsc b/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_depth_2.avsc index 966a68e90bd..6b2886e85af 100644 --- a/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_depth_2.avsc +++ b/hudi-utilities/src/test/resources/schema-provider/proto/parent_schema_recursive_depth_2.avsc @@ -1,3 +1,20 @@ +/* + * 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. + */ { "type": "record", "name": "Parent", diff --git a/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_defaults.avsc b/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_defaults.avsc index ce7dcbc91cd..1656bcebf65 100644 --- a/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_defaults.avsc +++ b/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_defaults.avsc @@ -1,3 +1,20 @@ +/* + * 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. + */ { "type": "record", "name": "Sample", diff --git a/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_wrapped_and_timestamp_as_record.avsc b/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_wrapped_and_timestamp_as_record.avsc index 1e841cf84da..a1166f81457 100644 --- a/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_wrapped_and_timestamp_as_record.avsc +++ b/hudi-utilities/src/test/resources/schema-provider/proto/sample_schema_wrapped_and_timestamp_as_record.avsc @@ -1,3 +1,20 @@ +/* + * 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. + */ { "type": "record", "name": "Sample", diff --git a/packaging/hudi-metaserver-server-bundle/pom.xml b/packaging/hudi-metaserver-server-bundle/pom.xml index 8ada2e73f73..aeb03f13238 100644 --- a/packaging/hudi-metaserver-server-bundle/pom.xml +++ b/packaging/hudi-metaserver-server-bundle/pom.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. +--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
