diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 2fc1b1e12d8..bd14c489ee2 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -31,7 +31,7 @@ body: encountered with the community. For best practices, if it is indeed a bug, please try your best to provide the reproducible steps. If you want to ask questions or share ideas, please [subscribe to our mailing list](mailto:dev-subscribe@kyuubi.apache.org) and send emails to [our mailing list](mailto:dev@kyuubi.apache.org), you can also head to our - [Discussions](https://github.com/apache/incubator-kyuubi/discussions) tab. + [Discussions](https://github.com/apache/kyuubi/discussions) tab. - type: checkboxes attributes: @@ -47,7 +47,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 25d75f99627..da51358016f 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -18,11 +18,11 @@ blank_issues_enabled: false contact_links: - name: Ask a question or get support - url: https://github.com/apache/incubator-kyuubi/discussions/categories/q-a + url: https://github.com/apache/kyuubi/discussions/categories/q-a about: Ask a question or request support for using Apache Kyuubi - name: Tell us your success story or use case - url: https://github.com/apache/incubator-kyuubi/discussions/925 + url: https://github.com/apache/kyuubi/discussions/925 about: Tell us your success story or use case using Apache Kyuubi - name: Kyuubi project improvement proposal - url: https://github.com/apache/incubator-kyuubi/discussions/categories/ideas + url: https://github.com/apache/kyuubi/discussions/categories/ideas about: a.k.a KPIP diff --git a/.github/ISSUE_TEMPLATE/doc-improvement-report.yml b/.github/ISSUE_TEMPLATE/doc-improvement-report.yml index 6234a1eaf81..668ddb25695 100644 --- a/.github/ISSUE_TEMPLATE/doc-improvement-report.yml +++ b/.github/ISSUE_TEMPLATE/doc-improvement-report.yml @@ -39,7 +39,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 287a064d848..b9236d70178 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -39,7 +39,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/improve-test.yml b/.github/ISSUE_TEMPLATE/improve-test.yml index 36870d7de41..85109b92abe 100644 --- a/.github/ISSUE_TEMPLATE/improve-test.yml +++ b/.github/ISSUE_TEMPLATE/improve-test.yml @@ -39,7 +39,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/improvement.yml b/.github/ISSUE_TEMPLATE/improvement.yml index 5842aa45e31..cc5a0351c48 100644 --- a/.github/ISSUE_TEMPLATE/improvement.yml +++ b/.github/ISSUE_TEMPLATE/improvement.yml @@ -41,7 +41,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/subtask.yml b/.github/ISSUE_TEMPLATE/subtask.yml index 32edf48362d..fb05a62dcd4 100644 --- a/.github/ISSUE_TEMPLATE/subtask.yml +++ b/.github/ISSUE_TEMPLATE/subtask.yml @@ -35,7 +35,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/umbrella.yml b/.github/ISSUE_TEMPLATE/umbrella.yml index 1e20d8c617a..d2d0762a76d 100644 --- a/.github/ISSUE_TEMPLATE/umbrella.yml +++ b/.github/ISSUE_TEMPLATE/umbrella.yml @@ -35,7 +35,7 @@ body: label: Search before asking options: - label: > - I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues) and found no similar + I have searched in the [issues](https://github.com/apache/kyuubi/issues) and found no similar issues. required: true diff --git a/build/release/generate_changelog.sh b/build/release/generate_changelog.sh index edb9eb2457a..2429544514d 100755 --- a/build/release/generate_changelog.sh +++ b/build/release/generate_changelog.sh @@ -26,7 +26,7 @@ KYUUBI_DIR="$(cd "$(dirname "$0")"/../..; pwd)" CHANGELOG_DIR=$KYUUBI_DIR/docs/changelog RELEASE_VERSION="$(echo $CURRENT_RELEASE_TAG | cut -d "-" -f 1,2)" ## use cut to remove -rc symbol CHANGELOG_PATH=$CHANGELOG_DIR/"$RELEASE_VERSION.md" -KYUUBI_GITHUB_COMMIT_URL="https://github.com/apache/incubator-kyuubi/commit/" +KYUUBI_GITHUB_COMMIT_URL="https://github.com/apache/kyuubi/commit/" function usage { set +x diff --git a/build/release/release.sh b/build/release/release.sh index ea5234d4398..4afac386520 100755 --- a/build/release/release.sh +++ b/build/release/release.sh @@ -54,8 +54,8 @@ fi RELEASE_TAG="v${RELEASE_VERSION}-rc${RELEASE_RC_NO}" -SVN_STAGING_REPO="https://dist.apache.org/repos/dist/dev/incubator/kyuubi" -SVN_RELEASE_REPO="https://dist.apache.org/repos/dist/release/incubator/kyuubi" +SVN_STAGING_REPO="https://dist.apache.org/repos/dist/dev/kyuubi" +SVN_RELEASE_REPO="https://dist.apache.org/repos/dist/release/kyuubi" KYUUBI_DIR="$(cd "$(dirname "$0")"/../..; pwd)" RELEASE_DIR="${KYUUBI_DIR}/work/release" diff --git a/build/release/script/announce.sh b/build/release/script/announce.sh index a5acb93459b..7d8fbaba0e4 100644 --- a/build/release/script/announce.sh +++ b/build/release/script/announce.sh @@ -47,16 +47,15 @@ Hi all, The Apache Kyuubi community is pleased to announce that Apache Kyuubi ${release_version} has been released! -Apache Kyuubi is a distributed multi-tenant JDBC server for -large-scale data processing and analytics, built on top of Apache Spark -and designed to support more engines (i.e. Apache Flink). +Apache Kyuubi is a distributed and multi-tenant gateway to provide +serverless SQL on data warehouses and lakehouses. Kyuubi provides a pure SQL gateway through Thrift JDBC/ODBC interface for end-users to manipulate large-scale data with pre-programmed and extensible Spark SQL engines. We are aiming to make Kyuubi an "out-of-the-box" tool for data warehouses -and data lakes. +and lakehouses. This "out-of-the-box" model minimizes the barriers and costs for end-users to use Spark at the client side. @@ -82,5 +81,5 @@ Thanks, On behalf of Apache Kyuubi community EOF -echo "please Use general@incubator.apache.org, announce@apache.org, dev@kyuubi.apache.org, user@spark.apache.org +echo "please Use announce@apache.org, dev@kyuubi.apache.org, user@spark.apache.org see announce content in $ANNOUNCE" diff --git a/build/release/script/dev_kyuubi_vote.sh b/build/release/script/dev_kyuubi_vote.sh index 6b5d96acead..5b2ef225dba 100644 --- a/build/release/script/dev_kyuubi_vote.sh +++ b/build/release/script/dev_kyuubi_vote.sh @@ -78,7 +78,7 @@ cat >${DEV_VOTE}<$GENERAL_VOTE<> work/svn-kyuubi/KEYS @@ -147,7 +147,7 @@ gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys ${PUBLIC_KEY} # verify ## Cut branch if for major release -Kyuubi use version pattern `{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}[-{OPTIONAL_SUFFIX}]`, e.g. `1.3.0-incubating`. +Kyuubi use version pattern `{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}[-{OPTIONAL_SUFFIX}]`, e.g. `1.7.0`. __Major Release__ means `MAJOR_VERSION` or `MINOR_VERSION` changed, and __Patch Release__ means `PATCH_VERSION` changed. The main step towards preparing a major release is to create a release branch. This is done via standard Git branching @@ -155,7 +155,7 @@ mechanism and should be announced to the community once the branch is created. > Note: If you are releasing a patch version, you can ignore this step. -The release branch pattern is `branch-{MAJOR_VERSION}.{MINOR_VERSION}`, e.g. `branch-1.3`. +The release branch pattern is `branch-{MAJOR_VERSION}.{MINOR_VERSION}`, e.g. `branch-1.7`. After cutting release branch, don't forget bump version in `master` branch. @@ -173,9 +173,7 @@ export RELEASE_RC_NO= 2. Bump version. ```shell -build/mvn versions:set -DgenerateBackupPoms=false \ - -DnewVersion="${RELEASE_VERSION}" \ - -Pspark-3.2,spark-block-cleaner +build/mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${RELEASE_VERSION}" git commit -am "[RELEASE] Bump ${RELEASE_VERSION}" ``` @@ -205,21 +203,16 @@ Filling in all the necessary information required by the form. And in the bottom ## Vote on the release candidate -The release voting takes place on the Apache Kyuubi developers list (the (P)PMC is voting). +The release voting takes place on the Apache Kyuubi developers list. - If possible, attach a draft of the release notes with the email. - Recommend represent voting closing time in UTC format. -- Make sure the email is in text format and the links are correct +- Make sure the email is in text format and the links are correct. > Note: you can generate the voting mail content for dev ML automatically via invoke the `build/release/script/dev_kyuubi_vote.sh` script. Once the vote is done, you should also send out a summary email with the totals, with a subject that looks -something like __[VOTE][RESULT] ....__ - -Then, you can move the release vote on the general incubator mailing list, and generate the voting mail content automatically via invoke the `build/release/script/general_incubator_vote.sh` script. -Also, you should send out a summary email like dev ML voting. - -> Note, any reason causes voting cancel. You should re-vote on the dev ML firstly. +something like __[VOTE][RESULT] Release Apache Kyuubi ...__ ## Finalize the Release @@ -230,7 +223,7 @@ __Once you move the artifacts into the release folder, they cannot be removed.__ After the vote passes, to upload the binaries to Apache mirrors, you move the binaries from dev directory (this should be where they are voted) to release directory. This "moving" is the only way you can add stuff to the actual release -directory. (Note: only (P)PMC members can move to release directory) +directory. (Note: only PMC members can move to release directory) Move the sub-directory in "dev" to the corresponding directory in "release". If you've added your signing key to the KEYS file, also update the release copy. @@ -239,45 +232,31 @@ KEYS file, also update the release copy. build/release/release.sh finalize ``` -Verify that the resources are present in https://www.apache.org/dist/incubator/kyuubi/. It may take a while for them -to be visible. This will be mirrored throughout the Apache network. +Verify that the resources are present in https://www.apache.org/dist/kyuubi/. It may take a while for them to be visible. +This will be mirrored throughout the Apache network. For Maven Central Repository, you can Release from the [Apache Nexus Repository Manager](https://repository.apache.org/). -Log in, open Staging Repositories, find the one voted on, select and click Release and confirm. If successful, it should -show up under https://repository.apache.org/content/repositories/releases/org/apache/kyuubi/ and the same under +Log in, open "Staging Repositories", find the one voted on, select and click "Release" and confirm. If successful, it +should show up under https://repository.apache.org/content/repositories/releases/org/apache/kyuubi/ and the same under https://repository.apache.org/content/groups/maven-staging-group/org/apache/kyuubi/ (look for the correct release version). -After some time this will be sync’d to [Maven Central](https://search.maven.org/) automatically. +After some time this will be synced to [Maven Central](https://search.maven.org/) automatically. ## Promote the release ### Update Website -Fork and clone [Apache Kyuubi website](https://github.com/apache/incubator-kyuubi-website) +Fork and clone [Apache Kyuubi website](https://github.com/apache/kyuubi-website) 1. Add a new markdown file in `src/zh/news/`, `src/en/news/` 2. Add a new markdown file in `src/zh/release/`, `src/en/release/` -3. Follow [Build Document](../develop_tools/build_document.md) to build documents, then copy `apache/incubator-kyuubi`'s - folder `docs/_build/html` to `apache/incubator-kyuubi-website`'s folder `content/docs/r{RELEASE_VERSION}` - -### Add news in status file - -```shell -svn checkout --depth=files "https://svn.apache.org/repos/asf/incubator/public/trunk/content/projects" -``` - -Add the release news - -```shell -svn commit --username "${ASF_USERNAME}" --password "${ASF_PASSWORD}" --message "Update kyuubi.xml" kyuubi.xml -``` - -The [kyuubi status website](https://incubator.apache.org/projects/kyuubi.html) will be updated after a few minutes. +3. Follow [Build Document](../develop_tools/build_document.md) to build documents, then copy `apache/kyuubi`'s + folder `docs/_build/html` to `apache/kyuubi-website`'s folder `content/docs/r{RELEASE_VERSION}` ### Create an Announcement Once everything is working, create an announcement on the website and then send an e-mail to the mailing list. You can generate the announcement via `build/release/script/announce.sh` automatically. -The mailing list includes: `general@incubator.apache.org`, `announce@apache.org`, `dev@kyuubi.apache.org`, `user@spark.apache.org`. +The mailing list includes: `announce@apache.org`, `dev@kyuubi.apache.org`, `user@spark.apache.org`. Note that, you must use the apache.org email to send announce to `announce@apache.org`. @@ -290,7 +269,7 @@ Remove the deprecated dist repo directories at last. ```shell cd work/svn-dev -svn delete https://dist.apache.org/repos/dist/dev/incubator/kyuubi/{RELEASE_TAG} \ +svn delete https://dist.apache.org/repos/dist/dev/kyuubi/{RELEASE_TAG} \ --username "${ASF_USERNAME}" \ --password "${ASF_PASSWORD}" \ --message "Remove deprecated Apache Kyuubi ${RELEASE_TAG}" diff --git a/docs/connector/spark/kudu.md b/docs/connector/spark/kudu.md index 0d3c850d703..ca02eb95cd7 100644 --- a/docs/connector/spark/kudu.md +++ b/docs/connector/spark/kudu.md @@ -181,5 +181,5 @@ No rows selected (0.611 seconds) ## References [https://kudu.apache.org/](https://kudu.apache.org/) [https://kudu.apache.org/docs/developing.html#_kudu_integration_with_spark](https://kudu.apache.org/docs/developing.html#_kudu_integration_with_spark) -[https://github.com/apache/incubator-kyuubi](https://github.com/apache/incubator-kyuubi) +[https://github.com/apache/kyuubi](https://github.com/apache/kyuubi) [https://spark.apache.org/docs/latest/sql-data-sources.html](https://spark.apache.org/docs/latest/sql-data-sources.html) diff --git a/docs/security/authorization/spark/build.md b/docs/security/authorization/spark/build.md index bba3894fd51..bef011867ad 100644 --- a/docs/security/authorization/spark/build.md +++ b/docs/security/authorization/spark/build.md @@ -48,14 +48,14 @@ build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests -Dspark.version The available `spark.version`s are shown in the following table. -| Spark Version | Supported | Remark | -|:-----------------:|:-----------:|:--------------------------------------------------------------------------------------------------------------------------------:| -| master | √ | - | -| 3.3.x | √ | - | -| 3.2.x | √ | - | -| 3.1.x | √ | - | -| 3.0.x | √ | - | -| 2.4.x and earlier | × | [PR 2367](https://github.com/apache/incubator-kyuubi/pull/2367) is used to track how we work with older releases with scala 2.11 | +| Spark Version | Supported | Remark | +|:-----------------:|:-----------:|:----------------------------------------------------------------------------------------------------------------------:| +| master | √ | - | +| 3.3.x | √ | - | +| 3.2.x | √ | - | +| 3.1.x | √ | - | +| 3.0.x | √ | - | +| 2.4.x and earlier | × | [PR 2367](https://github.com/apache/kyuubi/pull/2367) is used to track how we work with older releases with scala 2.11 | Currently, Spark released with Scala 2.12 are supported.