This is an automated email from the ASF dual-hosted git repository. loogn pushed a commit to branch cp_release_v7 in repository https://gitbox.apache.org/repos/asf/geaflow.git
commit 0cb24a88ab53f949b7209e00f903deb73a9faaa1 Author: loogn zhou <[email protected]> AuthorDate: Wed Nov 5 13:54:12 2025 +0800 fix(incubator): Fix LICENSE/NOTICE and headers to derived files --- LICENSE | 21 ---------------- NOTICE | 2 +- .../analytics/service/client/HttpResponse.java | 27 +++++++------------- .../service/client/jdbc/AnalyticsDriver.java | 27 +++++++------------- .../jdbc/property/AbstractConnectProperty.java | 27 +++++++------------- .../client/jdbc/property/ConnectProperties.java | 27 +++++++------------- .../client/jdbc/property/ConnectProperty.java | 27 +++++++------------- .../analytics/service/query/IQueryStatus.java | 23 +++++++---------- .../analytics/service/query/QueryIdGenerator.java | 27 +++++++------------- .../analytics/service/query/QueryResults.java | 27 +++++++------------- .../main/java/org/apache/geaflow/memory/Chunk.java | 27 ++++++++------------ .../org/apache/geaflow/memory/DirectMemory.java | 27 ++++++++------------ .../main/java/org/apache/geaflow/memory/Page.java | 27 ++++++++------------ .../apache/geaflow/memory/PlatformDependent.java | 27 ++++++++------------ .../org/apache/geaflow/memory/cleaner/Cleaner.java | 27 ++++++++------------ .../geaflow/memory/cleaner/CleanerJava6.java | 27 ++------------------ .../geaflow/memory/cleaner/CleanerJava9.java | 28 +++------------------ .../geaflow/state/iterator/MultiIterator.java | 29 ++++++++-------------- pom.xml | 14 +++++++++++ 19 files changed, 153 insertions(+), 315 deletions(-) diff --git a/LICENSE b/LICENSE index 53993da3d..661895bde 100644 --- a/LICENSE +++ b/LICENSE @@ -210,9 +210,6 @@ This product includes derivative works from the following third-party projects: Apache Flink (https://github.com/apache/flink, version 1.18) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright 2014-2025 The Apache Software Foundation - The following files are derived from Apache Flink: geaflow/geaflow-utils/src/main/java/org/apache/geaflow/utils/KeyGroupAssignment.java geaflow/geaflow-core/geaflow-engine/geaflow-shuffle/src/main/java/org/apache/geaflow/shuffle/network/netty/NettyClient.java @@ -236,9 +233,6 @@ geaflow/geaflow-deploy/geaflow-on-k8s/src/main/java/org/apache/geaflow/cluster/k Apache Flink Kubernetes Operator (https://github.com/apache/flink-kubernetes-operator, version 1.1) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright 2014-2025 The Apache Software Foundation - The following file is derived from Apache Flink Kubernetes Operator: geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/apache/geaflow/kubernetes/operator/core/status/GeaflowStatusRecorder.java @@ -247,9 +241,6 @@ geaflow-kubernetes-operator/geaflow-kubernetes-operator-core/src/main/java/org/a Apache Spark (https://github.com/apache/spark, version 3.0) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright 2014 and onwards The Apache Software Foundation - The following files are derived from Apache Spark: geaflow/geaflow-core/geaflow-engine/geaflow-shuffle/src/main/java/org/apache/geaflow/shuffle/network/protocol/AbstractFileRegion.java geaflow/geaflow-core/geaflow-engine/geaflow-shuffle/src/main/java/org/apache/geaflow/shuffle/network/protocol/CompositeFileRegion.java @@ -262,9 +253,6 @@ geaflow/geaflow-common/src/main/java/org/apache/geaflow/common/binary/BinaryStri Netty (https://github.com/netty/netty, version 4.1) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright 2012-2024 The Netty Project - The following files are derived from Netty: geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Chunk.java geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/DirectMemory.java @@ -279,9 +267,6 @@ geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJa Presto (https://github.com/prestodb/presto, version 0.276) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright (c) 2012-2024 Meta Platforms, Inc. and affiliates. - The following files are derived from Presto: geaflow/geaflow-analytics-service/geaflow-analytics-service-client/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperty.java geaflow/geaflow-analytics-service/geaflow-analytics-service-client/org/apache/geaflow/analytics/service/client/jdbc/property/AbstractConnectProperty.java @@ -297,9 +282,6 @@ geaflow/geaflow-analytics-service/geaflow-analytics-service-common/org/apache/ge Apache Hive (https://github.com/apache/hive, version 3.0) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright 2008-2025 The Apache Software Foundation - The following file is derived from Apache Hive: geaflow/geaflow-dsl/geaflow-dsl-plan/org/apache/geaflow/dsl/udf/table/string/Like.java @@ -308,9 +290,6 @@ geaflow/geaflow-dsl/geaflow-dsl-plan/org/apache/geaflow/dsl/udf/table/string/Lik Guava (https://github.com/google/guava, version 22.0) Licensed under the Apache License, Version 2.0. -Original copyright notice: - Copyright (C) 2006-2024 Google LLC - The following file is derived from Guava: geaflow/geaflow-state/geaflow-state-common/org/apache/geaflow/state/iterator/MultiIterator.java diff --git a/NOTICE b/NOTICE index 14ad26d92..7193b4a8c 100644 --- a/NOTICE +++ b/NOTICE @@ -19,7 +19,7 @@ Copyright 2008-2025 The Apache Software Foundation ---------------------------------------------------------- Netty -Copyright 2012-2024 The Netty Project +Copyright 2025 The Netty Project This product includes software developed at The Netty Project (http://netty.io/). diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/HttpResponse.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/HttpResponse.java index 5c40de822..4df0b8899 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/HttpResponse.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/HttpResponse.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.client; @@ -39,10 +34,6 @@ import org.apache.http.impl.client.CloseableHttpClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.client.JsonResponse. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/AnalyticsDriver.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/AnalyticsDriver.java index d6d7bd364..41acb263e 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/AnalyticsDriver.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/AnalyticsDriver.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.client.jdbc; @@ -37,10 +32,6 @@ import java.util.stream.Collectors; import org.apache.geaflow.analytics.service.client.utils.JDBCUtils; import org.apache.geaflow.common.exception.GeaflowRuntimeException; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.jdbc.PrestoDriver. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/AbstractConnectProperty.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/AbstractConnectProperty.java index 47670af7c..18c6d127b 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/AbstractConnectProperty.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/AbstractConnectProperty.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.client.jdbc.property; @@ -36,10 +31,6 @@ import org.apache.geaflow.common.exception.GeaflowRuntimeException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.jdbc.AbstractConnectionProperty. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperties.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperties.java index 5467fe837..a816c50b8 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperties.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperties.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.client.jdbc.property; @@ -32,10 +27,6 @@ import java.util.Properties; import java.util.Set; import java.util.function.Predicate; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.jdbc.ConnectionProperties. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperty.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperty.java index abe2761f9..b568b3236 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperty.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-client/src/main/java/org/apache/geaflow/analytics/service/client/jdbc/property/ConnectProperty.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.client.jdbc.property; @@ -25,10 +20,6 @@ import java.util.Optional; import java.util.Properties; import org.apache.geaflow.common.exception.GeaflowRuntimeException; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.jdbc.ConnectionProperty. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/IQueryStatus.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/IQueryStatus.java index aa8e64b3f..551a06b7e 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/IQueryStatus.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/IQueryStatus.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.query; diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryIdGenerator.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryIdGenerator.java index 92b41e7fd..a4c720c77 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryIdGenerator.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryIdGenerator.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.query; @@ -31,10 +26,6 @@ import java.util.concurrent.TimeUnit; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.execution.QueryIdGenerator. */ diff --git a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryResults.java b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryResults.java index 558e0b56b..437a24f90 100644 --- a/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryResults.java +++ b/geaflow/geaflow-analytics-service/geaflow-analytics-service-common/src/main/java/org/apache/geaflow/analytics/service/query/QueryResults.java @@ -1,20 +1,15 @@ /* - * 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 + * 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 + * 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. */ package org.apache.geaflow.analytics.service.query; @@ -31,10 +26,6 @@ import org.apache.calcite.rel.type.RelDataType; import org.apache.geaflow.cluster.response.ResponseResult; import org.apache.geaflow.dsl.common.data.impl.ObjectRow; -/* This file is based on source code from the Presto Project (https://prestodb.github.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Presto's com.facebook.presto.client.QueryResults. */ diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Chunk.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Chunk.java index 764607472..afe2032c1 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Chunk.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Chunk.java @@ -1,19 +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 + * Copyright 2025 The Netty Project * - * http://www.apache.org/licenses/LICENSE-2.0 + * The Netty Project 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: * - * 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 + * https://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. */ @@ -21,10 +18,6 @@ package org.apache.geaflow.memory; import org.apache.geaflow.memory.metric.ChunkMetric; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.buffer.PoolChunk. */ diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/DirectMemory.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/DirectMemory.java index ec6bb99db..300ce40c4 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/DirectMemory.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/DirectMemory.java @@ -1,19 +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 + * Copyright 2025 The Netty Project * - * http://www.apache.org/licenses/LICENSE-2.0 + * The Netty Project 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: * - * 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 + * https://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. */ @@ -34,10 +31,6 @@ import org.apache.geaflow.memory.exception.GeaflowOutOfMemoryException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.util.internal.DirectMemory. */ diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Page.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Page.java index 4dc6bbd82..18a9cc954 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Page.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/Page.java @@ -1,19 +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 + * Copyright 2025 The Netty Project * - * http://www.apache.org/licenses/LICENSE-2.0 + * The Netty Project 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: * - * 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 + * https://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. */ @@ -21,10 +18,6 @@ package org.apache.geaflow.memory; import org.apache.geaflow.memory.metric.PageMetric; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.buffer.PoolSubpage. */ diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/PlatformDependent.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/PlatformDependent.java index 0a2248cd7..3bc7f5340 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/PlatformDependent.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/PlatformDependent.java @@ -1,19 +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 + * Copyright 2025 The Netty Project * - * http://www.apache.org/licenses/LICENSE-2.0 + * The Netty Project 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: * - * 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 + * https://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. */ @@ -34,10 +31,6 @@ import org.apache.geaflow.common.utils.ReflectionUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.util.internal.PlatformDependent. */ diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/Cleaner.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/Cleaner.java index 7f16880ef..452849a14 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/Cleaner.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/Cleaner.java @@ -1,19 +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 + * Copyright 2025 The Netty Project * - * http://www.apache.org/licenses/LICENSE-2.0 + * The Netty Project 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: * - * 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 + * https://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. */ @@ -21,10 +18,6 @@ package org.apache.geaflow.memory.cleaner; import java.nio.ByteBuffer; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.util.internal.Cleaner. * Allows to free direct {@link ByteBuffer}s. diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava6.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava6.java index 27b973ea1..a740c4eec 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava6.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava6.java @@ -1,30 +1,11 @@ /* - * 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. - */ - -/* - * Copyright 2014 The Netty Project + * Copyright 2025 The Netty Project * * The Netty Project 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 + * https://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 @@ -45,10 +26,6 @@ import org.apache.geaflow.memory.PlatformDependent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.util.internal.CleanerJava6. * Allows to free direct {@link ByteBuffer} by using Cleaner for Java version less than 9. diff --git a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava9.java b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava9.java index 04a017de4..d1d4ed6ec 100644 --- a/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava9.java +++ b/geaflow/geaflow-memory/src/main/java/org/apache/geaflow/memory/cleaner/CleanerJava9.java @@ -1,30 +1,11 @@ /* - * 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. - */ - -/* - * Copyright 2017 The Netty Project + * Copyright 2025 The Netty Project * * The Netty Project 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 + * https://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 @@ -32,6 +13,7 @@ * License for the specific language governing permissions and limitations * under the License. */ + package org.apache.geaflow.memory.cleaner; import java.lang.reflect.InvocationTargetException; @@ -44,10 +26,6 @@ import org.apache.geaflow.memory.PlatformDependent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/* This file is based on source code from the Netty Project (http://netty.io/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Netty's io.netty.util.internal.CleanerJava9. * Allows to free direct {@link ByteBuffer} by using Cleaner for Java version equal or greater than 9. diff --git a/geaflow/geaflow-state/geaflow-state-common/src/main/java/org/apache/geaflow/state/iterator/MultiIterator.java b/geaflow/geaflow-state/geaflow-state-common/src/main/java/org/apache/geaflow/state/iterator/MultiIterator.java index 9b8cb59f0..0eab1cc33 100644 --- a/geaflow/geaflow-state/geaflow-state-common/src/main/java/org/apache/geaflow/state/iterator/MultiIterator.java +++ b/geaflow/geaflow-state/geaflow-state-common/src/main/java/org/apache/geaflow/state/iterator/MultiIterator.java @@ -1,20 +1,17 @@ /* - * 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 + * Copyright (C) 2007 The Guava Authors * - * http://www.apache.org/licenses/LICENSE-2.0 + * 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 * - * 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. + * 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. */ package org.apache.geaflow.state.iterator; @@ -23,10 +20,6 @@ import java.util.Arrays; import java.util.Iterator; import org.apache.geaflow.common.iterator.CloseableIterator; -/* This file is based on source code from the Guava Project (https://guava.dev/), licensed by the Apache - * Software Foundation (ASF) under the Apache License, Version 2.0. See the NOTICE file distributed with this work for - * additional information regarding copyright ownership. */ - /** * This class is an adaptation of Guava's Iterators.concat * by fixing the issue https://github.com/google/guava/issues/3178. diff --git a/pom.xml b/pom.xml index 70df0bcf6..ca6f7c951 100644 --- a/pom.xml +++ b/pom.xml @@ -357,6 +357,20 @@ <exclude>mkdocs.yml</exclude> <exclude>data/**</exclude> <exclude>sync_code.sh</exclude> + + <!-- Third-party works related --> + <exclude>**/MultiIterator.java</exclude> + <exclude>**/memory/cleaner/**</exclude> + <exclude>**/geaflow/memory/Chunk.java</exclude> + <exclude>**/geaflow/memory/DirectMemory.java</exclude> + <exclude>**/geaflow/memory/Page.java</exclude> + <exclude>**/geaflow/memory/PlatformDependent.java</exclude> + <exclude>**/analytics/service/client/jdbc/property/**</exclude> + <exclude>**/analytics/service/client/jdbc/AnalyticsDriver.java</exclude> + <exclude>**/analytics/service/client/HttpResponse.java</exclude> + <exclude>**/geaflow/analytics/service/query/IQueryStatus.java</exclude> + <exclude>**/geaflow/analytics/service/query/QueryIdGenerator.java</exclude> + <exclude>**/geaflow/analytics/service/query/QueryResults.java</exclude> </excludes> </configuration> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
