From a5c0737685de452430858c1cfce4af75120cc588 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Mon, 13 Oct 2025 17:52:26 +0800 Subject: [PATCH 1/2] Initial --- cpp-ch/local-engine/docker/image/Dockerfile | 17 +++++++++++++++++ cpp/CMake/BuildGTest.cmake | 17 +++++++++++++++++ dev/docker/cudf/Dockerfile | 17 +++++++++++++++++ dev/start_cudf.sh | 16 ++++++++++++++++ dev/vcpkg/env.sh | 16 ++++++++++++++++ dev/vcpkg/init.sh | 15 +++++++++++++++ tools/gluten-te/centos/dockerfile-build | 17 +++++++++++++++++ tools/gluten-te/centos/dockerfile-buildenv | 17 +++++++++++++++++ tools/gluten-te/ubuntu/dockerfile-build | 17 +++++++++++++++++ tools/gluten-te/ubuntu/dockerfile-buildenv | 17 +++++++++++++++++ tools/gluten-te/ubuntu/dockerfile-tpc | 17 +++++++++++++++++ 11 files changed, 183 insertions(+) diff --git a/cpp-ch/local-engine/docker/image/Dockerfile b/cpp-ch/local-engine/docker/image/Dockerfile index 4941d20aaee6..33418f75da9f 100644 --- a/cpp-ch/local-engine/docker/image/Dockerfile +++ b/cpp-ch/local-engine/docker/image/Dockerfile @@ -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. +# + # rebuild in #33610 # docker build -t libch_builder . FROM ubuntu:20.04 diff --git a/cpp/CMake/BuildGTest.cmake b/cpp/CMake/BuildGTest.cmake index d85578c0593c..0e812859949f 100644 --- a/cpp/CMake/BuildGTest.cmake +++ b/cpp/CMake/BuildGTest.cmake @@ -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. + include_guard(GLOBAL) include(FetchContent) diff --git a/dev/docker/cudf/Dockerfile b/dev/docker/cudf/Dockerfile index f598f90bf80e..668cc3cc0ae8 100644 --- a/dev/docker/cudf/Dockerfile +++ b/dev/docker/cudf/Dockerfile @@ -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. +# + FROM ghcr.io/facebookincubator/velox-dev:adapters RUN yum install -y sudo patch maven perl && ln -sf /usr/local/bin/cmake /usr/bin diff --git a/dev/start_cudf.sh b/dev/start_cudf.sh index b52c1a9f7391..2843a5d83b1c 100644 --- a/dev/start_cudf.sh +++ b/dev/start_cudf.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. + # Execute this script in host machine set -eu diff --git a/dev/vcpkg/env.sh b/dev/vcpkg/env.sh index ae5e6ca44a3f..a86a953e2b55 100755 --- a/dev/vcpkg/env.sh +++ b/dev/vcpkg/env.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. + set -e if [ -z "${BASH_SOURCE[0]}" ] || [ "$0" == "${BASH_SOURCE[0]}" ]; then diff --git a/dev/vcpkg/init.sh b/dev/vcpkg/init.sh index 4e7b16af821c..c5e649952d92 100755 --- a/dev/vcpkg/init.sh +++ b/dev/vcpkg/init.sh @@ -1,5 +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. + set -e BUILD_TESTS=OFF diff --git a/tools/gluten-te/centos/dockerfile-build b/tools/gluten-te/centos/dockerfile-build index d8a16d475d5f..adc695b3dd5b 100644 --- a/tools/gluten-te/centos/dockerfile-build +++ b/tools/gluten-te/centos/dockerfile-build @@ -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. +# + ARG DOCKER_TARGET_IMAGE_BUILDENV_WITH_OS_IMAGE FROM $DOCKER_TARGET_IMAGE_BUILDENV_WITH_OS_IMAGE AS gluten-build diff --git a/tools/gluten-te/centos/dockerfile-buildenv b/tools/gluten-te/centos/dockerfile-buildenv index d3b9eb1eae3c..4d9b7c67e0bd 100755 --- a/tools/gluten-te/centos/dockerfile-buildenv +++ b/tools/gluten-te/centos/dockerfile-buildenv @@ -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. +# + ARG OS_IMAGE_NAME ARG OS_IMAGE_TAG diff --git a/tools/gluten-te/ubuntu/dockerfile-build b/tools/gluten-te/ubuntu/dockerfile-build index 073db0ba18f5..8828882d29d8 100644 --- a/tools/gluten-te/ubuntu/dockerfile-build +++ b/tools/gluten-te/ubuntu/dockerfile-build @@ -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. +# + ARG DOCKER_TARGET_IMAGE_BUILDENV_WITH_OS_IMAGE FROM $DOCKER_TARGET_IMAGE_BUILDENV_WITH_OS_IMAGE AS gluten-build diff --git a/tools/gluten-te/ubuntu/dockerfile-buildenv b/tools/gluten-te/ubuntu/dockerfile-buildenv index df13e8726190..29596e20ae54 100644 --- a/tools/gluten-te/ubuntu/dockerfile-buildenv +++ b/tools/gluten-te/ubuntu/dockerfile-buildenv @@ -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. +# + ARG OS_IMAGE_NAME ARG OS_IMAGE_TAG diff --git a/tools/gluten-te/ubuntu/dockerfile-tpc b/tools/gluten-te/ubuntu/dockerfile-tpc index d3f9ecde1966..eac2814584e4 100644 --- a/tools/gluten-te/ubuntu/dockerfile-tpc +++ b/tools/gluten-te/ubuntu/dockerfile-tpc @@ -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. +# + ARG DOCKER_TARGET_IMAGE_BUILD_WITH_OS_IMAGE FROM $DOCKER_TARGET_IMAGE_BUILD_WITH_OS_IMAGE AS gluten-tpc From 48da060be99b6964c15b3e2ab600431dfb8ecddb Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Mon, 13 Oct 2025 18:07:29 +0800 Subject: [PATCH 2/2] Fix pom --- backends-clickhouse/pom.xml | 16 ++++++++++++++++ backends-velox/pom.xml | 16 ++++++++++++++++ gluten-arrow/pom.xml | 16 ++++++++++++++++ gluten-celeborn/pom.xml | 16 ++++++++++++++++ gluten-core/pom.xml | 17 +++++++++++++++++ gluten-delta/pom.xml | 16 ++++++++++++++++ gluten-hudi/pom.xml | 16 ++++++++++++++++ gluten-iceberg/pom.xml | 16 ++++++++++++++++ gluten-kafka/pom.xml | 16 ++++++++++++++++ gluten-paimon/pom.xml | 16 ++++++++++++++++ gluten-ras/common/pom.xml | 17 +++++++++++++++++ gluten-ras/planner/pom.xml | 17 +++++++++++++++++ gluten-ras/pom.xml | 25 +++++++++++++++---------- gluten-substrait/pom.xml | 16 ++++++++++++++++ gluten-ui/pom.xml | 16 ++++++++++++++++ gluten-uniffle/pom.xml | 16 ++++++++++++++++ gluten-ut/common/pom.xml | 16 ++++++++++++++++ gluten-ut/pom.xml | 27 +++++++++++++++------------ gluten-ut/spark32/pom.xml | 16 ++++++++++++++++ gluten-ut/spark33/pom.xml | 16 ++++++++++++++++ gluten-ut/spark34/pom.xml | 16 ++++++++++++++++ gluten-ut/spark35/pom.xml | 16 ++++++++++++++++ gluten-ut/test/pom.xml | 16 ++++++++++++++++ tools/gluten-it/common/pom.xml | 16 ++++++++++++++++ tools/gluten-it/package/pom.xml | 17 +++++++++++++++++ tools/gluten-it/pom.xml | 16 ++++++++++++++++ 26 files changed, 418 insertions(+), 22 deletions(-) diff --git a/backends-clickhouse/pom.xml b/backends-clickhouse/pom.xml index 5ab5bd3b6439..abbdb425eab4 100644 --- a/backends-clickhouse/pom.xml +++ b/backends-clickhouse/pom.xml @@ -1,4 +1,20 @@ + diff --git a/backends-velox/pom.xml b/backends-velox/pom.xml index 035401a6d8ce..58faf1e0a13b 100755 --- a/backends-velox/pom.xml +++ b/backends-velox/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-arrow/pom.xml b/gluten-arrow/pom.xml index aaa0964f0af8..90afa8b5195f 100644 --- a/gluten-arrow/pom.xml +++ b/gluten-arrow/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-celeborn/pom.xml b/gluten-celeborn/pom.xml index 1cd2b7dfccf2..7b100b6b5b43 100755 --- a/gluten-celeborn/pom.xml +++ b/gluten-celeborn/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-core/pom.xml b/gluten-core/pom.xml index 99a4019d1c3d..b0bea4e0aad0 100644 --- a/gluten-core/pom.xml +++ b/gluten-core/pom.xml @@ -1,3 +1,20 @@ + + diff --git a/gluten-delta/pom.xml b/gluten-delta/pom.xml index abeed3631f70..6d27ce64457a 100755 --- a/gluten-delta/pom.xml +++ b/gluten-delta/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-hudi/pom.xml b/gluten-hudi/pom.xml index 673c21ff8a20..bce418eae400 100755 --- a/gluten-hudi/pom.xml +++ b/gluten-hudi/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-iceberg/pom.xml b/gluten-iceberg/pom.xml index 93a0598ab7bf..7337c427ef0d 100644 --- a/gluten-iceberg/pom.xml +++ b/gluten-iceberg/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-kafka/pom.xml b/gluten-kafka/pom.xml index 22bf06d5978a..13b850c24260 100644 --- a/gluten-kafka/pom.xml +++ b/gluten-kafka/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-paimon/pom.xml b/gluten-paimon/pom.xml index e6ff9436f593..39b0c3e567b2 100644 --- a/gluten-paimon/pom.xml +++ b/gluten-paimon/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ras/common/pom.xml b/gluten-ras/common/pom.xml index 22cfe64e21eb..cc7df06ec2b3 100644 --- a/gluten-ras/common/pom.xml +++ b/gluten-ras/common/pom.xml @@ -1,3 +1,20 @@ + + diff --git a/gluten-ras/planner/pom.xml b/gluten-ras/planner/pom.xml index 9c51dd5d5b35..2983ec10de78 100644 --- a/gluten-ras/planner/pom.xml +++ b/gluten-ras/planner/pom.xml @@ -1,3 +1,20 @@ + + diff --git a/gluten-ras/pom.xml b/gluten-ras/pom.xml index 1c626d7c67b0..6eafaab18cfd 100644 --- a/gluten-ras/pom.xml +++ b/gluten-ras/pom.xml @@ -1,15 +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. + --> diff --git a/gluten-substrait/pom.xml b/gluten-substrait/pom.xml index 28168dfa4580..d8376f45619e 100644 --- a/gluten-substrait/pom.xml +++ b/gluten-substrait/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ui/pom.xml b/gluten-ui/pom.xml index 17d3b41e2fc0..b3270fd902b4 100644 --- a/gluten-ui/pom.xml +++ b/gluten-ui/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-uniffle/pom.xml b/gluten-uniffle/pom.xml index 87ea04a77d9f..eff0a8891ea0 100644 --- a/gluten-uniffle/pom.xml +++ b/gluten-uniffle/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/common/pom.xml b/gluten-ut/common/pom.xml index d0d754106874..4b018c1df9fb 100644 --- a/gluten-ut/common/pom.xml +++ b/gluten-ut/common/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/pom.xml b/gluten-ut/pom.xml index fa5558ad62e5..3bbabb485468 100644 --- a/gluten-ut/pom.xml +++ b/gluten-ut/pom.xml @@ -1,17 +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. + --> diff --git a/gluten-ut/spark32/pom.xml b/gluten-ut/spark32/pom.xml index a7da6d881323..b936546b5f82 100644 --- a/gluten-ut/spark32/pom.xml +++ b/gluten-ut/spark32/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/spark33/pom.xml b/gluten-ut/spark33/pom.xml index 391240655b15..92a42e53e3d4 100644 --- a/gluten-ut/spark33/pom.xml +++ b/gluten-ut/spark33/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/spark34/pom.xml b/gluten-ut/spark34/pom.xml index 4db558b00886..9168709db5d6 100644 --- a/gluten-ut/spark34/pom.xml +++ b/gluten-ut/spark34/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/spark35/pom.xml b/gluten-ut/spark35/pom.xml index bb648261954e..ffeb6c017a21 100644 --- a/gluten-ut/spark35/pom.xml +++ b/gluten-ut/spark35/pom.xml @@ -1,4 +1,20 @@ + diff --git a/gluten-ut/test/pom.xml b/gluten-ut/test/pom.xml index 49d6c847eecb..0d031cf47e72 100644 --- a/gluten-ut/test/pom.xml +++ b/gluten-ut/test/pom.xml @@ -1,4 +1,20 @@ + diff --git a/tools/gluten-it/common/pom.xml b/tools/gluten-it/common/pom.xml index 7c8864d91460..ed3397fcc0f8 100644 --- a/tools/gluten-it/common/pom.xml +++ b/tools/gluten-it/common/pom.xml @@ -1,4 +1,20 @@ + diff --git a/tools/gluten-it/package/pom.xml b/tools/gluten-it/package/pom.xml index 5beddb1ae5d8..4b9ac1c557be 100644 --- a/tools/gluten-it/package/pom.xml +++ b/tools/gluten-it/package/pom.xml @@ -1,3 +1,20 @@ + + diff --git a/tools/gluten-it/pom.xml b/tools/gluten-it/pom.xml index 103031463b78..871bb86f1c7c 100644 --- a/tools/gluten-it/pom.xml +++ b/tools/gluten-it/pom.xml @@ -1,4 +1,20 @@ +