From 9bfc7d65c57656b3dc3ed786008d59e6a2804a51 Mon Sep 17 00:00:00 2001 From: YanxuanLiu Date: Thu, 28 Nov 2024 17:08:16 +0800 Subject: [PATCH] add copyright for files Signed-off-by: YanxuanLiu --- .github/workflows/license-header-check.yml | 5 ++++- k8s/read-s3-test.py | 14 ++++++++++++++ k8s/spark-history-server/Dockerfile | 14 ++++++++++++++ k8s/spark-history-server/shs_gcs.yaml | 14 ++++++++++++++ k8s/spark-history-server/shs_s3.yaml | 14 ++++++++++++++ 5 files changed, 60 insertions(+), 1 deletion(-) diff --git a/.github/workflows/license-header-check.yml b/.github/workflows/license-header-check.yml index e9e7a64..f9fe24a 100644 --- a/.github/workflows/license-header-check.yml +++ b/.github/workflows/license-header-check.yml @@ -42,5 +42,8 @@ jobs: *.sh, Databricks/scripts/monit, Databricks/webterminal/webTerminalBashrc, - *.yml + *.yml, + *.yaml, + *.py, + *.properties \ No newline at end of file diff --git a/k8s/read-s3-test.py b/k8s/read-s3-test.py index 1764027..a95b075 100644 --- a/k8s/read-s3-test.py +++ b/k8s/read-s3-test.py @@ -1,3 +1,17 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. +# +# 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. + # Import SparkSession from pyspark.sql import SparkSession import time diff --git a/k8s/spark-history-server/Dockerfile b/k8s/spark-history-server/Dockerfile index c53c1f9..74010c7 100644 --- a/k8s/spark-history-server/Dockerfile +++ b/k8s/spark-history-server/Dockerfile @@ -1,3 +1,17 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. +# +# 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. + ARG SPARK_VER=3.2.2 FROM apache/spark:v${SPARK_VER} diff --git a/k8s/spark-history-server/shs_gcs.yaml b/k8s/spark-history-server/shs_gcs.yaml index 51d970c..f6a16fe 100644 --- a/k8s/spark-history-server/shs_gcs.yaml +++ b/k8s/spark-history-server/shs_gcs.yaml @@ -1,3 +1,17 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. +# +# 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. + #shs_gcs.yaml pvc: enablePVC: false diff --git a/k8s/spark-history-server/shs_s3.yaml b/k8s/spark-history-server/shs_s3.yaml index 29b132f..d5e4356 100644 --- a/k8s/spark-history-server/shs_s3.yaml +++ b/k8s/spark-history-server/shs_s3.yaml @@ -1,3 +1,17 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. +# +# 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. + #shs_s3.yaml pvc: enablePVC: false