Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[License] Change Elastic License to Apache License 2.0 #14666

Merged
merged 1 commit into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 0 additions & 21 deletions be/src/agent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is based on code available under the Apache license here:
# https://github.com/apache/incubator-doris/blob/master/be/src/agent/CMakeLists.txt

# 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.

# where to put generated libraries
set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/agent")

# where to put generated binaries
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/agent_task.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "agent/agent_task.h"

#include "agent/agent_common.h"
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/client_cache.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "agent/client_cache.h"

#include "gen_cpp/FrontendService.h"
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/finish_task.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "finish_task.h"

#include "agent/client_cache.h"
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/master_info.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "agent/master_info.h"

namespace starrocks {
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/publish_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "publish_version.h"

#include <bvar/bvar.h>
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/report_task.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "agent/report_task.h"

#include "agent/client_cache.h"
Expand Down
16 changes: 14 additions & 2 deletions be/src/agent/task_singatures_manager.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "agent/task_singatures_manager.h"

namespace starrocks {
Expand Down
16 changes: 14 additions & 2 deletions be/src/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

# Copyright 2021-present StarRocks, Inc. All rights reserved.
#
# 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
#
# 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.
#
ADD_BE_BENCH(${SRC_DIR}/bench/chunks_sorter_bench)
ADD_BE_BENCH(${SRC_DIR}/bench/runtime_filter_bench)
16 changes: 14 additions & 2 deletions be/src/bench/bench.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include <benchmark/benchmark.h>
#include <gtest/gtest.h>
#include <testutil/assert.h>
Expand Down
16 changes: 14 additions & 2 deletions be/src/bench/chunks_sorter_bench.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include <benchmark/benchmark.h>
#include <gtest/gtest.h>
#include <testutil/assert.h>
Expand Down
16 changes: 14 additions & 2 deletions be/src/bench/runtime_filter_bench.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include <benchmark/benchmark.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
Expand Down
17 changes: 14 additions & 3 deletions be/src/block_cache/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

# where to put generated libraries
# Copyright 2021-present StarRocks, Inc. All rights reserved.
#
# 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
#
# 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.
#
set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/block_cache")

# where to put generated binaries
Expand Down
16 changes: 14 additions & 2 deletions be/src/block_cache/block_cache.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "block_cache/block_cache.h"

#include <fmt/format.h>
Expand Down
16 changes: 14 additions & 2 deletions be/src/block_cache/fb_cachelib.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "block_cache/fb_cachelib.h"

#include "common/logging.h"
Expand Down
17 changes: 14 additions & 3 deletions be/src/column/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

# where to put generated libraries
# Copyright 2021-present StarRocks, Inc. All rights reserved.
#
# 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
#
# 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.
#
set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/column")

add_library(Column STATIC
Expand Down
16 changes: 14 additions & 2 deletions be/src/column/array_column.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "column/array_column.h"

#include <cstdint>
Expand Down
16 changes: 14 additions & 2 deletions be/src/column/binary_column.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "column/binary_column.h"

#ifdef __x86_64__
Expand Down
16 changes: 14 additions & 2 deletions be/src/column/chunk.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Inc.

// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// 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
//
// 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.
//
#include "column/chunk.h"

#include <utility>
Expand Down
Loading