This project is mirrored from https://gitee.com/yxydde/incubator-kyuubi.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 16 Mar, 2022 3 commits
-
-
Kent Yao authored
-
Kent Yao authored
-
Tianlin Liao authored
### _Why are the changes needed?_ Follow up #1936 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2092 from lightning-L/kyuubi-1936. Closes #1936 2bb2c10d [Tianlin Liao] [KYUUBI #1936][FOLLOWUP] Send credentials when opening session and wait for completion Authored-by:
Tianlin Liao <tiliao@ebay.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org> (cherry picked from commit eb4d2890 ) Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 15 Mar, 2022 1 commit
-
-
Cheng Pan authored
### _Why are the changes needed?_ Backport #2115 for 1.5 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2136 from pan3793/license-1.5. Closes #2115 44a774d4 [Cheng Pan] version 7c407033 [Cheng Pan] Remove CCO a9e83647 [Cheng Pan] [LICENSE] Update LICENSE-binary Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 14 Mar, 2022 1 commit
-
-
sychen authored
### _Why are the changes needed?_ https://github.com/apache/incubator-kyuubi/issues/2125 Now after the `openSession` call fails, `closeSession` is called. But because there is no `_remoteSessionHandle`, the `CloseSession` RPC request fails. This does not need to send RPC and also increases the complexity of logging. ``` org.apache.kyuubi.KyuubiSQLException: Error while cleaning up the engine resources at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:69) at org.apache.kyuubi.session.KyuubiSessionImpl.close(KyuubiSessionImpl.scala:156) at org.apache.kyuubi.session.KyuubiSessionManager.openSession(KyuubiSessionManager.scala:75) at org.apache.kyuubi.service.AbstractBackendService.openSession(AbstractBackendService.scala:45) at org.apache.kyuubi.service.ThriftBinaryFrontendService.getSessionHandle(ThriftBinaryFrontendService.scala:199) ``` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2126 from cxzl25/KYUUBI-2125. Closes #2125 2e96f418 [sychen] optimize closeSession Authored-by:
sychen <sychen@trip.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 8c85480b ) Signed-off-by:
Kent Yao <yao@apache.org>
-
- 12 Mar, 2022 3 commits
-
-
Cheng Pan authored
### _Why are the changes needed?_ This PR reverts "[KYUUBI #1948] Upgrade thrift version to 0.16.0" in branch-1.5 and some subsequent commits due to issues caused by breaking changes in Thrift, e.g. #2101, #2093 We need more time to evaluate it and add more test cases to ensure stability before the next release. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2103 from pan3793/revert. Closes #2103 Closes #1948 575dfe8d [Cheng Pan] properties order 4c94481e [Cheng Pan] fix deps bfbdeb89 [Cheng Pan] Add log4j deps for kyuubi-hive-jdbc test bad4e90e [Cheng Pan] surefire f2ae8b9b [Cheng Pan] Revert "[KYUUBI #1948] Upgrade thrift version to 0.16.0" 4501f743 [Cheng Pan] Revert "[KYUUBI #1948][FOLLOWUP] Remove TFramedTransport in extension-spark-3-1 and extension-spark-3-2" cc04df49 [Cheng Pan] Revert "[KYUUBI #1996] Clean up log4j2 conf and enhance surefire plugin conf" 52a20e17 [Cheng Pan] Revert "[KYUUBI #1948][FOLLOWUP] Relocate fb303 classes" Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
SteNicholas authored
### _Why are the changes needed?_ Add logging of Flink SQL Engine in `logging.md`. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2111 from SteNicholas/KYUUBI-1866. Closes #1866 7a0bdbb8 [SteNicholas] [KYUUBI #1866] Add logging of Flink SQL Engine Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
Cheng Pan <chengpan@apache.org> (cherry picked from commit b8389dae ) Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
Ada Wong authored
### _Why are the changes needed?_ Add quick start documents of the Flink SQL Engine. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2106 from deadwind4/KYUUBI-1866-quickstart. Closes #1866 2533aafd [Ada Wong] remove Yarn section 6aa4db8a [Ada Wong] compress png ff6bff72 [Ada Wong] [KYUUBI #1866][DOCS] Add flink sql engine quick start Authored-by:
Ada Wong <rsl4@foxmail.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 8f7b2c66 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
- 11 Mar, 2022 3 commits
-
-
Ada Wong authored
### _Why are the changes needed?_ Support submitting a job to Yarn. The 'flink-sql-client.jar' has supported submitting a job to Yarn. We only make a few changes. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2074 from deadwind4/KYUUBI-2070. Closes #2070 b9223f4a [Ada Wong] remove ${HADOOP_CLASSPATH} for supporting only yarn-session 59d692fc [Ada Wong] update HADDOP_CLASSPATH c0496e91 [Ada Wong] [KYUUBI #2070][FLINK] Support Flink job submission on yarn-session mode Authored-by:
Ada Wong <rsl4@foxmail.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 7d66e9aa ) Signed-off-by:
Kent Yao <yao@apache.org>
-
SteNicholas authored
### _Why are the changes needed?_ Add debugging instructions for Flink engine. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2098 from SteNicholas/KYUUBI-2089. Closes #2089 08189b85 [SteNicholas] [KYUUBI #2089] Add debugging instructions for flink engine Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 2486c5df ) Signed-off-by:
Kent Yao <yao@apache.org>
-
SteNicholas authored
### _Why are the changes needed?_ We should relocate fb303 classes to avoid conflict, fix #2093. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2096 from SteNicholas/KYUUBI-2093. Closes #1948 2095f835 [SteNicholas] [KYUUBI #2093] kyuubi beeline can not connect the kyuubi server due to exception Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
Cheng Pan <chengpan@apache.org> (cherry picked from commit 12d56422 ) Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
- 10 Mar, 2022 3 commits
-
-
SteNicholas authored
### _Why are the changes needed?_ `logCaptureThread` does not catch sparksubmit exception. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2090 from SteNicholas/KYUUBI-2078. Closes #2078 11ff6824 [SteNicholas] [KYUUBI #2078] logCaptureThread does not catch sparksubmit exception Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit cf014ee2 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
Tianlin Liao authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> To close #1936 ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2059 from lightning-L/kyuubi-1936. Closes #1936 e9c83ef6 [Tianlin Liao] [KYUUBI #1936] send credentials when opening session and wait for completion Authored-by:
Tianlin Liao <tiliao@ebay.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org> (cherry picked from commit 8e983a19 ) Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
yanghua authored
… engine <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2080 from yanghua/KYUUBI-2079. Closes #2079 2bf98720 [yanghua] [KYUUBI #2079] Update kyuubi layer source file to add flink and trino engine Authored-by:
yanghua <yanghua1127@gmail.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org> (cherry picked from commit a882c4bf ) Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 09 Mar, 2022 2 commits
-
-
Fei Wang authored
### _Why are the changes needed?_ We met below issue when fetching result. ``` Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException:46 7022 at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:453) 7023 at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2397) 7024 at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2312) 7025 at java.util.Calendar.setTimeInMillis(Calendar.java:1804) 7026 at java.util.Calendar.setTime(Calendar.java:1770) 7027 at java.text.SimpleDateFormat.format(SimpleDateFormat.java:943) 7028 at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936) 7029 at java.text.DateFormat.format(DateFormat.java:345) 7030 at org.apache.kyuubi.schema.RowSet$.toHiveString(RowSet.scala:245) 7031 at org.apache.kyuubi.schema.RowSet$.$anonfun$toTColumn$3(RowSet.scala:120) 7032 at scala.collection.immutable.List.map(List.scala:290) 7033 at org.apache.kyuubi.schema.RowSet$.toTColumn(RowSet.scala:115) 7034 at org.apache.kyuubi.schema.RowSet$.$anonfun$toColumnBasedSet$1(RowSet.scala:65) 7035 at org.apache.kyuubi.schema.RowSet$.$anonfun$toColumnBasedSet$1$adapted(RowSet.scala:64) 7036 at scala.collection.immutable.List.foreach(List.scala:392) 7037 at org.apache.kyuubi.schema.RowSet$.toColumnBasedSet(RowSet.scala:64) 7038 at org.apache.kyuubi.schema.RowSet$.toTRowSet(RowSet.scala:47) 7039 at org.apache.kyuubi.engine.spark.operation.SparkOperation.getNextRowSet(SparkOperation.scala:183) 7040 at org.apache.kyuubi.operation.OperationManager.getOperationNextRowSet(OperationManager.scala:116) 7041 at org.apache.kyuubi.session.AbstractSession.fetchResults(AbstractSession.scala:197) 7042 at org.apache.kyuubi.service.AbstractBackendService.fetchResults(AbstractBackendService.scala:169) 7043 at org.apache.kyuubi.service.ThriftBinaryFrontendService.FetchResults(ThriftBinaryFrontendService.scala:505) ``` The root cause is that the date time formatter used to convert the result to rowSet is not thread-safe. In this pr, we use thread-safe FastDateFormat instead of SimpleDateFormat. ### _How was this patch tested?_ Existing UT. Closes #2075 from turboFei/thread_safe_fat_stimeformatter. Closes #2075 44ae8fd1 [Fei Wang] Using thread-safe FastDateFormat instead of SimpleDateFormat Authored-by:
Fei Wang <fwang12@ebay.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 5a64e124 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
yanghua authored
### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2064 from yanghua/KYUUBI-2063. Closes #2063 35ea82cf [yanghua] [KYUUBI #2063] Fix engine idle timeout lose efficacy for Flink Engine Authored-by:
yanghua <yanghua1127@gmail.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit dde83819 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
- 08 Mar, 2022 4 commits
-
-
Cheng Pan authored
### _Why are the changes needed?_ Document incremental collection, close #1215 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate <img width="1914" alt="1" src="https://user-images.githubusercontent.com/26535726/157191008-451bee2a-eb6b-4bb6-869b-5b0f75a21448.png"> <img width="1919" alt="2" src="https://user-images.githubusercontent.com/26535726/157191016-e183bbf5-aa4a-496d-a250-5d14cf04101d.png"> <img width="1920" alt="3" src="https://user-images.githubusercontent.com/26535726/157191026-343a39d7-0ab8-4886-9a51-3670394ef6be.png"> - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2057 from pan3793/doc. Closes #1215 82677a03 [Cheng Pan] grammar 3be0e3f1 [Cheng Pan] fix b467e975 [Cheng Pan] Update d256cbaf [Cheng Pan] compress picture b3c5fb64 [Cheng Pan] Fix 4c06307c [Cheng Pan] [KYUUBI #1215][DOC] Document incremental collection Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit 54dfb4bb ) Signed-off-by:
Kent Yao <yao@apache.org>
-
--replace-all authored
### _Why are the changes needed?_ Close #2043 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate  - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2046 from RishiKumarRay/master. Closes #2043 bf9a4a0b [--replace-all] fixed sql issue c119e5c2 [Rishi Kumar Ray] Merge branch 'apache:master' into master 323d81c7 [--replace-all] Upgrade log4j/2.x/ to 2.17.2 Lead-authored-by:
--replace-all <rishi.ray@knoldus.com> Co-authored-by:
Rishi Kumar Ray <87641376+RishiKumarRay@users.noreply.github.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit dc6085e0 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
Cheng Pan authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> We need to clear job group information for init SQL, otherwise in incremental collection mode, the fetchNext will always display wrong description. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate Before this patch: <img width="1916" alt="incremental_collect" src="https://user-images.githubusercontent.com/26535726/157165964-502ad809-9d99-44de-b08c-131d135ce33d.png"> After this patch: <img width="1917" alt="Xnip2022-03-08_12-04-50" src="https://user-images.githubusercontent.com/26535726/157165975-68eddf24-e0ad-4db2-931c-c75541802a7b.png"> - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2060 from pan3793/clear. Closes #2060 76a67372 [Cheng Pan] Clear job group for init SQL Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
ulysses-you <ulyssesyou@apache.org> (cherry picked from commit f8d9010b ) Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
SteNicholas authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> Support closing Flink SQL engine process. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2054 from SteNicholas/KYUUBI-1819. Closes #2054 992bd0b2 [SteNicholas] [KYUUBI-1819] Support closing Flink SQL engine process 69567120 [SteNicholas] [KYUUBI-1819] Support closing Flink SQL engine process Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org> (cherry picked from commit 9518724c ) Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 07 Mar, 2022 2 commits
-
-
jiaoqingbo authored
### _Why are the changes needed?_ fix #2055 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2056 from jiaoqingbo/2055. Closes #2055 52a2e623 [jiaoqingbo] [KYUUBI #2055] correct the log service name Authored-by:
jiaoqingbo <1178404354@qq.com> Signed-off-by:
Kent Yao <yao@apache.org> (cherry picked from commit b1e949d4 ) Signed-off-by:
Kent Yao <yao@apache.org>
-
sychen authored
### _Why are the changes needed?_ Support more MySQL JDBC driver versions. The user may use the 5.x mysql driver to connect to the kyuubi server. https://github.com/apache/incubator-kyuubi/issues/2047 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2048 from cxzl25/KYUUBI-2047. Closes #2047 03cd15f2 [sychen] Support more MySQL JDBC driver versions Authored-by:
sychen <sychen@trip.com> Signed-off-by:
Cheng Pan <chengpan@apache.org> (cherry picked from commit 109569bc ) Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
- 05 Mar, 2022 6 commits
-
-
Kent Yao authored
-
Kent Yao authored
-
Kent Yao authored
-
jiaoqingbo authored
### _Why are the changes needed?_ Fix #2012 #1180 In `EventLoggingService`, when `EventLoggerType` is set to `JSON` Kyuubi creates an error directory, it should not be the `ENGINE_EVENT_JSON_LOG_PATH` but the `SERVER_EVENT_JSON_LOG_PATH`. <img width="557" alt="微信图片_20220304165614" src="https://user-images.githubusercontent.com/14961757/156771039-e18fcdbe-8b99-4190-9b14-6953daa55e5f.png"> <img width="605" alt="微信图片_20220304165633" src="https://user-images.githubusercontent.com/14961757/156771053-defdee62-67f9-4f16-9d4a-8ef170304221.png"> rename `EventLoggingService` in `kyuubi-server` to `KyuubiEventLoggingService` rename `EventLoggingService` in `kyuubi-spark-sql-engine` to `SparkEventLoggingService` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2037 from jiaoqingbo/kyuubi2012. Closes #2012 714e5ea5 [jiaoqingbo] fix ut failed 10d1a151 [jiaoqingbo] execute dev/format cb99a458 [jiaoqingbo] [KYUUBI #2012] rename EventLoggingService and creates an correct directory Authored-by:
jiaoqingbo <1178404354@qq.com> Signed-off-by:
Kent Yao <yao@apache.org>
-
Jeff Zhang authored
### _Why are the changes needed?_ Update `.asf.yaml` to redirect Issues/PR Notifications to notificationskyuubi.apache.org ### _How was this patch tested?_ No test needed Closes #2042 from zjffdu/notification. Closes #2042 1f16cb4a [Jeff Zhang] Redirect Issues/PR Notifications to notifications@kyuubi.apache.org Authored-by:
Jeff Zhang <zjffdu@apache.org> Signed-off-by:
Kent Yao <yao@apache.org>
-
Cheng Pan authored
### _Why are the changes needed?_ Replaced by FlinkOperationSuite ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2039 from pan3793/flink. Closes #2039 f9fd6674 [Cheng Pan] Remove LegacyFlinkOperationSuite Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
- 04 Mar, 2022 3 commits
-
-
SteNicholas authored
### _Why are the changes needed?_ Upgrade `hive-service-rpc` to 3.1.2. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2031 from SteNicholas/KYUUBI-1961. Closes #1961 88c29557 [SteNicholas] [KYUUBI #1961] Upgrade hive-service-rpc to 3.1.2 Authored-by:
SteNicholas <programgeek@163.com> Signed-off-by:
Kent Yao <yao@apache.org>
-
sychen authored
### _Why are the changes needed?_ Introduced engine type and subdomain, kyuubi-ctl does not support managing engine. Add two engine-related parameters(--engine-type --engine-subdomain). https://github.com/apache/incubator-kyuubi/issues/2008 ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2009 from cxzl25/KYUUBI-2008. Closes #2008 213a8d9e [sychen] remove println c3895b2e [sychen] fix style fa1e8991 [sychen] fix ut 302ae757 [sychen] support engine type and subdomain Authored-by:
sychen <sychen@trip.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
sychen authored
### _Why are the changes needed?_ When the get server and list server commands are displayed, when the namespace exceeds the minimum width, it will be glued to the hostname. Add a space beyond the minimum cell width in non-verbose mode. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2007 from cxzl25/KYUUBI-2006. Closes #2006 68bacef3 [sychen] Add a space beyond the minimum cell width in non-verbose mode Authored-by:
sychen <sychen@trip.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 03 Mar, 2022 6 commits
-
-
HYBG-1126 authored
cretate ns kyuubi ---> create ns kyuubi ### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #1999 from HYBG-1126/patch-1. Closes #1999 f68f73e9 [HYBG] Update quick_start_with_helm.md Lead-authored-by:
HYBG-1126 <hybg1126@outlook.com> Co-authored-by:
HYBG <44338121+HYBG-1126@users.noreply.github.com> Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
Ada Wong authored
### _Why are the changes needed?_ Hadoop 3.3.2 is out. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2003 from deadwind4/KYUUBI-2000. Closes #2000 3b5b3f85 [Ada Wong] [KYUUBI #2000][DEPS] Bump Hadoop 3.3.2 Authored-by:
Ada Wong <rsl4@foxmail.com> Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
Kent Yao authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> Add CONTRIBUTING.md to list COMMUNITY resources that I contributor can use delete contributions and improvement-proposal in main repo ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #2004 from yaooqinn/CONTRIBUTING. Closes #2004 ddbcd521 [Kent Yao] CONTRIBUTING f81c14b3 [Kent Yao] Merge branch 'master' of github.com:apache/incubator-kyuubi into CONTRIBUTING 3bdbdc9b [Kent Yao] CONTRIBUTING 574ceff2 [Kent Yao] CONTRIBUTING f0a6b4c4 [Kent Yao] CONTRIBUTING c55c6a02 [Kent Yao] CONTRIBUTING Authored-by:
Kent Yao <yao@apache.org> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
Cheng Pan authored
### _Why are the changes needed?_ [THRIFT-4805](https://issues.apache.org/jira/browse/THRIFT-4805) has been fixed in thrift 0.13.0, we can remove the workaround of log4j2 configurations because we use thrift 0.16.0 now, the change also removes the following warnings. ``` 2022-03-01 23:18:16,530 main ERROR Filters contains invalid attributes "onMatch", "onMismatch" 2022-03-01 23:18:16,543 main ERROR Filters contains invalid attributes "onMatch", "onMismatch" ``` `maven-surefire-plugin` is only used in `kyuubi-hive-jdbc`, we should disable it in other modules. ``` [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) kyuubi-ctl_2.12 --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- 2022-03-01 23:18:16,530 main ERROR Filters contains invalid attributes "onMatch", "onMismatch" 2022-03-01 23:18:16,543 main ERROR Filters contains invalid attributes "onMatch", "onMismatch" [INFO] Running org.apache.kyuubi.ctl.ServiceControlCliSuite [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in org.apache.kyuubi.ctl.ServiceControlCliSuite [INFO] Running org.apache.kyuubi.ctl.ServiceControlCliArgumentsSuite [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.kyuubi.ctl.ServiceControlCliArgumentsSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 ``` ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #1996 from pan3793/log. Closes #1996 291441c0 [Cheng Pan] nit f2c94246 [Cheng Pan] Tune surefire plugin in conf e1ee6402 [Cheng Pan] Clean up log4j2 conf Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
Cheng Pan <chengpan@apache.org>
-
Kent Yao authored
### _Why are the changes needed?_ # Apache Kyuubi(Incubating) Maturity Self Assessment ## Overview This is an assessment of the overall maturity of Apache Kyuubi(Incubating) as an Apache project, meant to inform the decision (of mentors, community, incubator PMCs, and ASF Board of Directors) to graduate Kyuubi as a top-level Apache project. It is based on the [Apache Project Maturity Model](https://community.apache.org/apache-way/apache-project-maturity-model.html). Mentors and community members are encouraged to contribute to this page and comment on it, the following tables summarize our self-assessment against the **Apache Project Maturity Model**.
✅ means that the related item is in good status.⬜ means that the related item need long-term attention.❌ means that the related item need to be fixed ASAP. ## Code | ID | Description | Status | |-----|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | C10 | The project produces Open Source software for distribution to the public, at no charge. |✅ The project source code is licensed under the [Apache License, v2.0](https://github.com/apache/incubator-kyuubi/blob/master/LICENSE) | | C20 | Anyone can easily discover and access the project's code. |❌ The source code is available on GitHub directly,‼ Missing link on website | | C30 | Anyone using standard, widely-available tools, can build the code in a reproducible way. |❌ The source code is automatically built for each Pull Request commit, with license checks, style checks, doc builds unit and end to end tests, via GitHub actions and Travis. Development environment setup and build instructions to do the same locally are documented on the [website](https://kyuubi.apache.org/developer-tools.html).‼ The side is not sync with codebase. | | C40 | The full history of the project's code is available via a source code control system, in a way that allows anyone to recreate any released version. |✅ The project uses git to manage source code, documentation and website, all releases are tagged. The commit history is available from the beginning of the project. | | C50 | The source code control system establishes the provenance of each line of code in a reliable way, based on strong authentication of the committer. When third parties contribute code, commit messages provide reliable information about the code provenance. |✅ The project uses GitHub which managed by Apache Infra, it ensuring provenance of each line of code to a committer. All code is checked in after review and approval via GitHub pull requests. | ## Licenses and Copyright | ID | Description | Status | |------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | LC10 | The Apache License, version 2.0, covers the released code. |✅ The [LICENSE file](https://github.com/apache/incubator-kyuubi/blob/master/LICENSE) is in GitHub repository. [All releases](https://kyuubi.apache.org/releases.html) are verified by IPMC to contain the copy. | | LC20 | Libraries that are mandatory dependencies of the project's code do not create more restrictions than the Apache License does. |✅ [The list of mandatory dependencies](https://github.com/apache/incubator-kyuubi/tree/master/licenses-binary) have been reviewed to contain approved and compatible licenses only. | | LC30 | The libraries mentioned in LC20 are available as Open Source software. |✅ All mandatory dependencies listed in L20 are available as open source software. | | LC40 | Committers are bound by an Individual Contributor Agreement (the "Apache iCLA") that defines which code they may commit and how they need to identify code that is not their own. |✅ All committers have iCLAs on file before they have an apache account. | | LC50 | The project clearly defines and documents the copyright ownership of everything that the project produces. |✅ All files in the source repository have appropriate headers. [The Github workflow](https://github.com/apache/incubator-kyuubi/actions/workflows/license.yml) is in place to ensure every file has the expected license header. | ## Releases | ID | Description | Status | |------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | RE10 | Releases consist of source code, distributed using standard and open archive formats that are expected to stay readable in the long term. |✅ Recent releases are available via the [download page](https://kyuubi.apache.org/releases.html) on the website. All releases are available via the [apache archive](https://archive.apache.org/dist/incubator/kyuubi/). | | RE20 | The project's PMC (Project Management Committee, see CS10) approves each software release in order to make the release an act of the Foundation. |✅ All incubating releases have been approved by the Kyuubi community and the Incubator, all with at least 3 PPMC/IPMC votes and more +1 than -1. | | RE30 | Releases are signed and/or distributed along with digests that anyone can reliably use to validate the downloaded archives. |✅ [Releases](https://kyuubi.apache.org/releases.html) are signed, the [keys](https://downloads.apache.org/incubator/kyuubi/KEYS) are available from the download page. Every release has a corresponding hash(sha512) to prevent content tampering. | | RE40 | The project can distribute convenience binaries alongside source code, but they are not Apache Releases, they are provided with no guarantee. |✅ Convenience binaries are distributed alongside source code at the same time via <ul><li>[Maven Central Repository](https://mvnrepository.com/artifact/org.apache.kyuubi)</li><li>[DockerHub](https://hub.docker.com/r/apache/kyuubi)</li><li>dist.apache.org</li></ul> | | RE50 | The project documents a repeatable release process so that someone new to the project can independently generate the complete set of artifacts required for a release. |✅ [Release guide](https://github.com/apache/incubator-kyuubi/blob/master/docs/community/release.md) is available. The releases of the project have been performed by 4 different release managers. | ## Quality | ID | Description | Status | |------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | QU10 | The project is open and honest about the quality of its code. Various levels of quality and maturity for various modules are natural and acceptable as long as they are clearly communicated. |✅ All issues are tracked on Kyuubi's GitHub [Issues](https://github.com/apache/incubator-kyuubi/issues). | | QU20 | The project puts a very high priority on producing secure software. |✅ Security issues are treated with the highest priority. We use Apache's default way to submit security related information. | | QU30 | The project provides a well-documented, secure and private channel to report security issues, along with a documented way of responding to them. |✅ Website provides a link to https://www.apache.org/security/ | | QU40 | The project puts a high priority on backwards compatibility and aims to document any incompatible changes and provide tools and documentation to help users transition to new features. |✅ Each release note contains all related issues and pull requests in the milestone, and extract mainly updates and API changes from milestones. | | QU50 | The project strives to respond to documented bug reports in a timely manner. |✅ The community is very active in responding to bug reports and usually fixes them within a short time period. | ## Community | ID | Description | Status | |------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | CO10 | The project has a well-known homepage that points to all the information required to operate according to this maturity model. |✅ The website describes of the project with download, user manual, technical details, how to contribute and team introduce. | | CO20 | The community welcomes contributions from anyone who acts in good faith and in a respectful manner, and who adds value to the project. |⬜ Committers are really welcome contributions and the community is actively seeking for new committers. The community has elected 0 new PPMC members and 2 new committers during incubation, based on meritocracy. | | CO30 | Contributions include source code, documentation, constructive bug reports, constructive discussions, marketing and generally anything that adds value to the project. |✅ The community welcomes all contributions. The contribution guide refers to non source code contribution. The community is very clear about contributions being more than code. | | CO40 | The community strives to be meritocratic and gives more rights and responsibilities to contributors who, over time, add value to the project. |⬜ . The community has elected 0 new PPMC members and 2 new committers during incubation, based on meritocracy. | | CO50 | The project documents how contributors can earn more rights such as commit access or decision power, and applies these principles consistently. |❌ ~The process to become a committer or PPMC member is documented on the website~. see, https://community.apache.org/newcommitter.html | | CO60 | The community operates based on consensus of its members (see CS10) who have decision power. Dictators, benevolent or not, are not welcome in Apache projects. |⬜ The project works to build consensus. All PPMC votes have been unanimous so far. | | CO70 | The project strives to answer user questions in a timely manner. |⬜ The project typically provides detailed answers to user questions within a few days via dev mailing list, GitHub issues and Github Discussions. | ## Consensus Building | ID | Description | Status | |------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | CS10 | The project maintains a public list of its contributors who have decision power. The project's PMC (Project Management Committee) consists of those contributors. |❌ ~Committers and PPMC members are listed on the website’s community page~ | | CS20 | Decisions require a consensus among PMC members and are documented on the project's main communications channel. The PMC takes community opinions into account, but the PMC has the final word. |✅ The project has been making important decisions on the mailing lists. | | CS30 | The project uses documented voting rules to build consensus when discussion is not sufficient. |✅ The project uses the standard ASF voting rules. | | CS40 | In Apache projects, vetoes are only valid for code commits. The person exercising the veto must justify it with a technical explanation, as per the Apache voting rules defined in CS30. |⬜ The project has not used a veto at any point during incubation. | | CS50 | All "important" discussions happen asynchronously in written form on the project's main communications channel. Offline, face-to-face or private discussions that affect the project are also documented on that channel. |⬜ The project has been making important decisions on the project mailing lists. Minor decisions may occasionally happen during code reviews, which are also asynchronous and in written form. | ## Independence | ID | Description | Status | |------|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | IN10 | The project is independent from any corporate or organizational influence. |⬜ The project team gathers people from different companies (China Mobile, eBay, NetEase, T3). No company or organization has significantly more influence than any other. We can note a growth of the contributions coming from different contributors. | | IN20 | Contributors act as themselves, not as representatives of a corporation or organization. |✅ The contributors act on their own initiative without representing a corporation or organization. | ### _How was this patch tested?_ Pending reviews by Kyuubi Mentors, PPMC, and community. Closes #1986 from yaooqinn/MATURITY. Closes #1986 1c76752a [Kent Yao] Apache Kyuubi(Incubating) Maturity Self Assessment 3ce62adf [Kent Yao] Apache Kyuubi(Incubating) Maturity Self Assessment ac436ab3 [Kent Yao] Apache Kyuubi(Incubating) Maturity Self Assessment Authored-by:Kent Yao <yao@apache.org> Signed-off-by:
Kent Yao <yao@apache.org>
-
Cheng Pan authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> The `new SparkConf()` and `KyuubiConf()` executes early than UT, and can not re-initialize after changing system properties, which makes conf overwriting does not work. After the change, the `sparkConf.setIfMissing("spark.sql.catalogImplementation", defaultCat)` work as expected when we overwriting `spark.sql.catalogImplementation` in UT, and Hudi uses `in-memory` catalog to create table. <img width="891" alt="Xnip2022-03-02_19-10-06" src="https://user-images.githubusercontent.com/26535726/156351805-bb403ee8-0b89-4db2-b91f-d7b2b9957838.png"> ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #1995 from pan3793/lazy. Closes #1988 c264a224 [Cheng Pan] Fix d1a23fbc [Cheng Pan] Lazy initialize vars depends on system level confs Authored-by:
Cheng Pan <chengpan@apache.org> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
- 02 Mar, 2022 1 commit
-
-
Ada Wong authored
### _Why are the changes needed?_ Users who use Flink or Trino need not set SPARK_HOME, so I remove SPARK_HOME predication in bin/kyuubi script. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #1994 from deadwind4/KYUUBI-1992. Closes #1992 5f11df57 [Ada Wong] [KYUUBI #1992] Remove SPARK_HOME predication. Authored-by:
Ada Wong <rsl4@foxmail.com> Signed-off-by:
Kent Yao <yao@apache.org>
-
- 01 Mar, 2022 2 commits
-
-
wForget authored
[KYUUBI #1960] Skip creating sparksession and starting engine if the max initialization time exceeds <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> close #1960 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [X] Add screenshots for manual tests if appropriate Test steps: 1. Start another application to fill the queue. 2. Modify the `stop-application.sh` so it doesn't work. 3. Submit a Kyuubi request. 4. After waiting for timeout, stop the application in step 1. We can get the following results: 1. The kyuubi request exits after timeout. 2. After obtaining resources, the orphaned engine app fails to execute and exits immediately.   - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1966 from wForget/KYUUBI-1960. Closes #1960 0f977c85 [Wang Zhen] spotless 9bb2178c [Wang Zhen] Merge branch 'master' of https://github.com/apache/incubator-kyuubi into KYUUBI-1960 3effa4d1 [wForget] fix f9f13c6f [wForget] fix test abdc1f30 [wForget] fix 48b4bac3 [wForget] [KYUUBI-1960] Skip creating sparksession and starting engine if the max initialization time exceeds Lead-authored-by:
wForget <643348094@qq.com> Co-authored-by:
Wang Zhen <wangzhen07@qiyi.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-
Wang Zhen authored
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> close #1958 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests ) locally before make a pull request Closes #1984 from wForget/KYUUBI-1958. Closes #1958 7702b23b [Wang Zhen] [KYUUBI-1958] Fix flaky test: statement redact for engine tab *** FAILED *** Authored-by:
Wang Zhen <wangzhen07@qiyi.com> Signed-off-by:
ulysses-you <ulyssesyou@apache.org>
-