This is an automated email from the ASF dual-hosted git repository.
liyang pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/kylin5 by this push:
new 3b482d03ed add apache header
3b482d03ed is described below
commit 3b482d03ed5c044051d679f583b633120da908bd
Author: Pengfei Zhan <[email protected]>
AuthorDate: Sat Sep 14 16:00:00 2024 +0800
add apache header
---
.../standalone-docker/all-in-one/Dockerfile | 17 +++++++++++
.../standalone-docker/all-in-one/build.sh | 18 ++++++++++++
.../all-in-one/conf/hadoop/capacity-scheduler.xml | 34 +++++++---------------
.../standalone-docker/all-in-one/conf/ssh/ssh.conf | 17 +++++++++++
.../all-in-one/conf/ssh/sshd.conf | 17 +++++++++++
.../all-in-one/conf/zookeeper/zoo.cfg | 17 +++++++++++
.../standalone-docker/all-in-one/run.sh | 17 +++++++++++
.../all-in-one/scripts/start-historyserver.sh | 17 +++++++++++
.../all-in-one/scripts/start-hivemetastore.sh | 17 +++++++++++
.../all-in-one/scripts/start-hiveserver2.sh | 17 +++++++++++
10 files changed, 165 insertions(+), 23 deletions(-)
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/Dockerfile
b/dev-support/release-manager/standalone-docker/all-in-one/Dockerfile
index a475825362..1e3a309836 100644
--- a/dev-support/release-manager/standalone-docker/all-in-one/Dockerfile
+++ b/dev-support/release-manager/standalone-docker/all-in-one/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.
+#
+
# syntax=docker/dockerfile:1
FROM ubuntu:22.04
RUN apt update
diff --git a/dev-support/release-manager/standalone-docker/all-in-one/build.sh
b/dev-support/release-manager/standalone-docker/all-in-one/build.sh
index 9da896012b..ca8638ab16 100755
--- a/dev-support/release-manager/standalone-docker/all-in-one/build.sh
+++ b/dev-support/release-manager/standalone-docker/all-in-one/build.sh
@@ -1,5 +1,23 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
TAG=5.0.0-GA
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/conf/hadoop/capacity-scheduler.xml
b/dev-support/release-manager/standalone-docker/all-in-one/conf/hadoop/capacity-scheduler.xml
index a9ae992cfd..2421b7d477 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/conf/hadoop/capacity-scheduler.xml
+++
b/dev-support/release-manager/standalone-docker/all-in-one/conf/hadoop/capacity-scheduler.xml
@@ -1,29 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
-/**
- * Copyright (C) 2020 Kyligence Inc. All rights reserved.
- *
- * http://kyligence.io
- *
- * This software is the confidential and proprietary information of
- * Kyligence Inc. ("Confidential Information"). You shall not disclose
- * such Confidential Information and shall use it only in accordance
- * with the terms of the license agreement you entered into with
- * Kyligence Inc.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+ 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
+
+ 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. See accompanying LICENSE file.
-->
<configuration>
<property>
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/ssh.conf
b/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/ssh.conf
index c06c8efabc..03085f22d0 100644
--- a/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/ssh.conf
+++ b/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/ssh.conf
@@ -1,2 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
Host *
StrictHostKeyChecking no
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/sshd.conf
b/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/sshd.conf
index ceca6913ee..58688caa13 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/sshd.conf
+++
b/dev-support/release-manager/standalone-docker/all-in-one/conf/ssh/sshd.conf
@@ -1 +1,18 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
ListenAddress 0.0.0.0
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/conf/zookeeper/zoo.cfg
b/dev-support/release-manager/standalone-docker/all-in-one/conf/zookeeper/zoo.cfg
index f7aad4b05e..b27b9de549 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/conf/zookeeper/zoo.cfg
+++
b/dev-support/release-manager/standalone-docker/all-in-one/conf/zookeeper/zoo.cfg
@@ -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.
+#
+
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
diff --git a/dev-support/release-manager/standalone-docker/all-in-one/run.sh
b/dev-support/release-manager/standalone-docker/all-in-one/run.sh
index 755dc67993..8b890ffedc 100755
--- a/dev-support/release-manager/standalone-docker/all-in-one/run.sh
+++ b/dev-support/release-manager/standalone-docker/all-in-one/run.sh
@@ -1,5 +1,22 @@
#!/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.
+#
+
TAG=5.0.0-GA
docker run -d \
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-historyserver.sh
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-historyserver.sh
index de9e401487..089c147229 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-historyserver.sh
+++
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-historyserver.sh
@@ -1,3 +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.
+#
+
bash $HADOOP_HOME/sbin/mr-jobhistory-daemon.sh --config
$HADOOP_HOME/etc/hadoop start historyserver
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hivemetastore.sh
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hivemetastore.sh
index b235a03a8b..ba013ccddf 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hivemetastore.sh
+++
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hivemetastore.sh
@@ -1,5 +1,22 @@
#!/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.
+#
+
log_dir="$HIVE_HOME/logs"
if [ ! -d "$log_dir" ]; then
diff --git
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hiveserver2.sh
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hiveserver2.sh
index 04bd2511d1..677e761330 100644
---
a/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hiveserver2.sh
+++
b/dev-support/release-manager/standalone-docker/all-in-one/scripts/start-hiveserver2.sh
@@ -1,5 +1,22 @@
#!/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.
+#
+
log_dir="$HIVE_HOME/logs"
if [ ! -d "$log_dir" ]; then