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.
  1. 30 Aug, 2021 3 commits
  2. 27 Aug, 2021 2 commits
  3. 26 Aug, 2021 2 commits
    • ulysses-you's avatar
      [KYUUBI #992] Fix SPARK_EXTENSION_VERSION_ is seen as a variable · 6020b831
      ulysses-you 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.
      -->
      fix dist bug
      
      `$SPARK_EXTENSION_VERSION_` is empty
      `${SPARK_EXTENSION_VERSION}_` is `3-1_`
      
      ### _How was this patch tested?_
      - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
      
      -...
      6020b831
    • Fu Chen's avatar
      [KYUUBI #991] [MINOR] improve the error message of SPARK package not found. · 083d051b
      Fu Chen 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.
      -->
      
      As `File.listFiles` may return null when spark package not found in folder `${PROJECT_ROOT_DIR}/kyuubi-server/externals/kyuubi-download/target`, the NPE will throw. Improve the error message.
      
      Before thie pr:
      
      ```
      Caused by: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:Error opening session SessionHandle [9749221f-5b30-457b-b8e5-25affba25061] for fchen due to null
      	at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:68)
      	at org.apache.kyuubi.session.KyuubiSessionManager.openSession(KyuubiSessionManager.scala:74)
      	at org.apache.kyuubi.service.AbstractBackendService.openSession(AbstractBackendService.scala:45)
      	at org.apache.kyuubi.service.ThriftFrontendService.getSessionHandle(ThriftFrontendService.scala:190)
      	at org.apache.kyuubi.service.ThriftFrontendService.OpenSession(ThriftFrontendService.scala:199)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1377)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1362)
      	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
      	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
      	at org.apache.kyuubi.service.authentication.TSetIpAddressProcessor.process(TSetIpAddressProcessor.scala:36)
      	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NullPointerException: null
      	at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:204)
      	at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:204)
      	at scala.collection.IndexedSeqOptimized.isEmpty(IndexedSeqOptimized.scala:30)
      	at scala.collection.IndexedSeqOptimized.isEmpty$(IndexedSeqOptimized.scala:30)
      	at scala.collection.mutable.ArrayOps$ofRef.isEmpty(ArrayOps.scala:198)
      	at scala.collection.TraversableLike.headOption(TraversableLike.scala:608)
      	at scala.collection.TraversableLike.headOption$(TraversableLike.scala:608)
      	at scala.collection.mutable.ArrayOps$ofRef.headOption(ArrayOps.scala:198)
      	at org.apache.kyuubi.engine.spark.SparkProcessBuilder.$anonfun$executable$1(SparkProcessBuilder.scala:50)
      	at scala.Option.orElse(Option.scala:447)
      	at org.apache.kyuubi.engine.spark.SparkProcessBuilder.<init>(SparkProcessBuilder.scala:41)
      	at org.apache.kyuubi.engine.EngineRef.$anonfun$create$1(EngineRef.scala:140)
      	at org.apache.kyuubi.engine.EngineRef.tryWithLock(EngineRef.scala:116)
      	at org.apache.kyuubi.engine.EngineRef.create(EngineRef.scala:128)
      	at org.apache.kyuubi.engine.EngineRef.$anonfun$getOrCreate$1(EngineRef.scala:182)
      	at scala.Option.getOrElse(Option.scala:189)
      	at org.apache.kyuubi.engine.EngineRef.getOrCreate(EngineRef.scala:182)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.$anonfun$open$2(KyuubiSessionImpl.scala:63)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.$anonfun$open$2$adapted(KyuubiSessionImpl.scala:62)
      	at org.apache.kyuubi.ha.client.ZooKeeperClientProvider$.withZkClient(ZooKeeperClientProvider.scala:74)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.open(KyuubiSessionImpl.scala:62)
      	at org.apache.kyuubi.session.KyuubiSessionManager.openSession(KyuubiSessionManager.scala:58)
      	... 12 more
      ```
      After this pr:
      
      ```
      Caused by: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:Error opening session SessionHandle [5ea6a8b3-1727-4e0d-b542-992f84afcde8] for fchen due to SPARK_HOME is not set!
      	at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:68)
      	at org.apache.kyuubi.session.KyuubiSessionManager.openSession(KyuubiSessionManager.scala:74)
      	at org.apache.kyuubi.service.AbstractBackendService.openSession(AbstractBackendService.scala:45)
      	at org.apache.kyuubi.service.ThriftFrontendService.getSessionHandle(ThriftFrontendService.scala:190)
      	at org.apache.kyuubi.service.ThriftFrontendService.OpenSession(ThriftFrontendService.scala:199)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1377)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1362)
      	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
      	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
      	at org.apache.kyuubi.service.authentication.TSetIpAddressProcessor.process(TSetIpAddressProcessor.scala:36)
      	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.RuntimeException: org.apache.kyuubi.KyuubiSQLException:SPARK_HOME is not set!
      	at org.apache.kyuubi.KyuubiSQLException$.apply(KyuubiSQLException.scala:68)
      	at org.apache.kyuubi.engine.spark.SparkProcessBuilder.$anonfun$executable$5(SparkProcessBuilder.scala:61)
      	at scala.Option.getOrElse(Option.scala:189)
      	at org.apache.kyuubi.engine.spark.SparkProcessBuilder.<init>(SparkProcessBuilder.scala:61)
      	at org.apache.kyuubi.engine.EngineRef.$anonfun$create$1(EngineRef.scala:140)
      	at org.apache.kyuubi.engine.EngineRef.tryWithLock(EngineRef.scala:116)
      	at org.apache.kyuubi.engine.EngineRef.create(EngineRef.scala:128)
      	at org.apache.kyuubi.engine.EngineRef.$anonfun$getOrCreate$1(EngineRef.scala:182)
      	at scala.Option.getOrElse(Option.scala:189)
      	at org.apache.kyuubi.engine.EngineRef.getOrCreate(EngineRef.scala:182)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.$anonfun$open$2(KyuubiSessionImpl.scala:63)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.$anonfun$open$2$adapted(KyuubiSessionImpl.scala:62)
      	at org.apache.kyuubi.ha.client.ZooKeeperClientProvider$.withZkClient(ZooKeeperClientProvider.scala:74)
      	at org.apache.kyuubi.session.KyuubiSessionImpl.open(KyuubiSessionImpl.scala:62)
      	at org.apache.kyuubi.session.KyuubiSessionManager.openSession(KyuubiSessionManager.scala:58)
      	... 12 more
      ```
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #991 from cfmcgrady/improve-error-msg.
      
      Closes #991
      
      1e8da683 [Fu Chen] imporove the error message
      Authored-by: default avatarFu Chen <cfmcgrady@gmail.com>
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      (cherry picked from commit 9695f758
      
      )
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      083d051b
  4. 25 Aug, 2021 7 commits
  5. 24 Aug, 2021 1 commit
    • Cheng Pan's avatar
      [KYUUBI #978] [LICENSE] Fix the source license issue · bff69d5c
      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.
      -->
      
      Fix the license issue mentioned by WillemJiang
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request
      
      The final `NOTICE` for binary release is not `NOTICE-binary` in root path but is generated by `build/release/collect_licenses.sh`, which will extract all NOTICE content from the bundled jars.
      
      ```
      
      Apache Kyuubi
      Copyright 2021 and onwards The Apache Software Foundation.
      
      This product includes software developed at
      The Apache Software Foundation (https://www.apache.org/).
      
      Apache Spark
      Copyright 2014 and onwards The Apache Software Foundation.
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      Export Control Notice
      ---------------------
      
      This distribution includes cryptographic software. The country in which you currently reside may have
      restrictions on the import, possession, use, and/or re-export to another country, of encryption software.
      BEFORE using any encryption software, please check your country's laws, regulations and policies concerning
      the import, possession, or use, and re-export of encryption software, to see if this is permitted. See
      <http://www.wassenaar.org/> for more information.
      
      The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this
      software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software
      using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache
      Software Foundation distribution makes it eligible for export under the License Exception ENC Technology
      Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for
      both object code and source code.
      
      The following provides more details on the included cryptographic software:
      
      This software uses Apache Commons Crypto (https://commons.apache.org/proper/commons-crypto/) to
      support authentication, and encryption and decryption of data sent across the network between
      services.
      
      Metrics
      Copyright 2010-2013 Coda Hale and Yammer, Inc.
      
      This product includes software developed by Coda Hale and Yammer, Inc.
      
      This product includes code derived from the JSR-166 project (ThreadLocalRandom, Striped64,
      LongAdder), which was released with the following comments:
      
          Written by Doug Lea with assistance from members of JCP JSR-166
          Expert Group and released to the public domain, as explained at
          http://creativecommons.org/publicdomain/zero/1.0/
      
      Curator Client
      Copyright 2011-2017 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      Curator Framework
      Copyright 2011-2017 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      Curator Recipes
      Copyright 2011-2017 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      Hive Service RPC
      Copyright 2020 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      htrace-core4
      Copyright 2016 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/).
      
      # Jackson JSON processor
      
      Jackson is a high-performance, Free/Open Source JSON processing library.
      It was originally written by Tatu Saloranta (tatu.salorantaiki.fi), and has
      been in development since 2007.
      It is currently developed by a community of developers, as well as supported
      commercially by FasterXML.com.
      
      ## Licensing
      
      Jackson core and extension components may licensed under different licenses.
      To find the details that apply to this artifact see the accompanying LICENSE file.
      For more information, including possible other licensing options, contact
      FasterXML.com (http://fasterxml.com).
      
      ## Credits
      
      A list of contributors may be found from CREDITS file, which is included
      in some artifacts (usually source distributions); but is always available
      from the source code management (SCM) system project uses.
      # Jackson JSON processor
      
      Jackson is a high-performance, Free/Open Source JSON processing library.
      It was originally written by Tatu Saloranta (tatu.salorantaiki.fi), and has
      been in development since 2007.
      It is currently developed by a community of developers, as well as supported
      commercially by FasterXML.com.
      
      ## Licensing
      
      Jackson core and extension components may be licensed under different licenses.
      To find the details that apply to this artifact see the accompanying LICENSE file.
      For more information, including possible other licensing options, contact
      FasterXML.com (http://fasterxml.com).
      
      ## Credits
      
      A list of contributors may be found from CREDITS file, which is included
      in some artifacts (usually source distributions); but is always available
      from the source code management (SCM) system project uses.
      Apache log4j
      Copyright 2007 The Apache Software Foundation
      
      This product includes software developed at
      The Apache Software Foundation (http://www.apache.org/
      
      ).
      ```
      
      Closes #978 from pan3793/license.
      
      Closes #978
      
      2a7eff44 [Cheng Pan] Update License
      d21825dd [Cheng Pan] [LICENSE] Fix the source license issue
      Authored-by: default avatarCheng Pan <chengpan@apache.org>
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      (cherry picked from commit 3ebb50f1
      
      )
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      bff69d5c
  6. 23 Aug, 2021 3 commits
  7. 22 Aug, 2021 5 commits
  8. 21 Aug, 2021 3 commits
  9. 20 Aug, 2021 1 commit
  10. 19 Aug, 2021 5 commits
  11. 18 Aug, 2021 5 commits
    • ulysses-you's avatar
      [KYUUBI #936] Add date info for json event path · e90c6f58
      ulysses-you 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 date info helps collect metrics across some days.
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #936 from ulysses-you/event-date-partition.
      
      Closes #936
      
      6d204084 [ulysses-you] time
      f142e052 [ulysses-you] test
      fd220112 [ulysses-you] statement
      31f9f0fb [ulysses-you] empty
      67acbd5e [ulysses-you] fix
      4cb0ee91 [ulysses-you] fix
      42159c08 [ulysses-you] partitions
      3500d91c [ulysses-you] remove enent=
      04c3dacb [ulysses-you] fix
      5e7f19ec [ulysses-you] nit
      83eaf529 [ulysses-you] date partition
      a2d6a38d [ulysses-you] start time
      693e8ee9 [ulysses-you] Add date info for json event path
      Authored-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      (cherry picked from commit 960ac897
      
      )
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      e90c6f58
    • Cheng Pan's avatar
      [KYUUBI #945] [DOCS] Update release guide · 95fb96ec
      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.
      -->
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #945 from pan3793/doc.
      
      Closes #945
      
      a46af55e [Cheng Pan] [DOCS] Update release guide
      Authored-by: default avatarCheng Pan <chengpan@apache.org>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      (cherry picked from commit 65e57927
      
      )
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      95fb96ec
    • Cheng Pan's avatar
      [KYUUBI #948] [DEPS][TEST] Bump iceberg 0.12.0 · ed44c858
      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.
      -->
      Close #943
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #948 from pan3793/iceberg.
      
      Closes #948
      
      47a8a653 [Cheng Pan] Bump iceberg 0.12.0
      Authored-by: default avatarCheng Pan <chengpan@apache.org>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      (cherry picked from commit b88d9b29
      
      )
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      ed44c858
    • 张宇翔's avatar
      [KYUUBI #903] Add event for statement · e4c35d58
      张宇翔 authored
      ### _Why are the changes needed?_
      - Through eventLog to write statementInfo into file
      
      ### _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.readthedocs.io/en/latest/tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #903 from zhang1002/branch-1.2_statementEvent.
      
      Closes #903
      
      27cc7741 [张宇翔] 1. Add some introduce 2. change som UT
      7cf73bde [张宇翔] Merge branch 'master' into branch-1.2_statementEvent
      b662a989 [张宇翔] Merge remote-tracking branch 'upstream/master'
      fc868609 [张宇翔] resolve conflicts
      5dfcf868 [张宇翔] resolve conflicts
      b04adee8 [张宇翔] remove some unused code
      4c8f3b87 [张宇翔] Merge remote-tracking branch 'upstream/master'
      2a4317a5 [张宇翔] remove some ut
      0c474cc4 [张宇翔] Add statement event
      4e05a395 [张宇翔] Add statement event
      5f73e247 [张宇翔] Add statement event
      8b686767 [张宇翔] Merge remote-tracking branch 'upstream/master'
      cf99e309 [张宇翔] Merge remote-tracking branch 'upstream/master'
      0afaa578 [张宇翔] Merge remote-tracking branch 'upstream/master'
      b24fea07 [张宇翔] Merge remote-tracking branch 'upstream/master'
      e517cfc5 [张宇翔] Merge remote-tracking branch 'upstream/master'
      18aebe76 [张宇翔] Merge remote-tracking branch 'upstream/master'
      f248bef7 [张宇翔] Merge remote-tracking branch 'upstream/master'
      5ffb54f3 [张宇翔] Add kyuubi-spark-monitor module for nightly.yml
      Authored-by: default avatar张宇翔 <zhang1002@126.com>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      (cherry picked from commit d0c9c8ab
      
      )
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      e4c35d58
    • Cheng Pan's avatar
      [KYUUBI #946] [TEST] Fix version test · bb4d1e80
      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.
      -->
      Fix #944
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #946 from pan3793/ver.
      
      Closes #946
      
      81f69c8e [Cheng Pan] Fix version test
      Authored-by: default avatarCheng Pan <chengpan@apache.org>
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      (cherry picked from commit c228ecc2
      
      )
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      bb4d1e80
  12. 17 Aug, 2021 3 commits
    • Cheng Pan's avatar
      [RELEASE] Bump 1.3.1-SNAPSHOT · 8e112441
      Cheng Pan authored
      8e112441
    • Cheng Pan's avatar
      [RELEASE] Bump 1.3.0-incubating · aa6197cd
      Cheng Pan authored
      aa6197cd
    • timothy65535's avatar
      [KYUUBI #940] Fix process-logger-capture thread consumes high usage CPU · 0e9444b3
      timothy65535 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.
      -->
      
      After several benchmarks in the offline environment, kyuubi consumes a lot of CPU.
      
      ```
      [bigdata]$ jps
      3188 Main
      6036 Jps
      4189 KyuubiServer
      
      [bigdata]$ top
      top - 09:34:21 up 23 min,  1 user,  load average: 10.67, 7.85, 4.98
      Tasks: 320 total,   1 running, 319 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 48.2 us, 23.9 sy,  0.0 ni, 27.4 id,  0.0 wa,  0.5 hi,  0.0 si,  0.0 st
      MiB Mem :  15806.0 total,   4738.4 free,   6085.0 used,   4982.5 buff/cache
      MiB Swap:      0.0 total,      0.0 free,      0.0 used.   9306.5 avail Mem
      
          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
         4189 bigdata   20   0   10.1g 311272  22484 S 633.3   1.9  48:12.21 java
      ```
      ```
      Threads:  53 total,   6 running,  47 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 31.9 us, 22.8 sy,  0.0 ni, 44.8 id,  0.0 wa,  0.4 hi,  0.0 si,  0.0 st
      MiB Mem :  15806.0 total,   4770.5 free,   6052.9 used,   4982.5 buff/cache
      MiB Swap:      0.0 total,      0.0 free,      0.0 used.   9338.7 avail Mem
      
          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
         5222 bigdata   20   0   10.1g 311272  22484 R  99.3   1.9  10:00.91 process-logger-
         5044 bigdata   20   0   10.1g 311272  22484 R  99.0   1.9  10:03.98 process-logger-
         4730 bigdata   20   0   10.1g 311272  22484 R  98.3   1.9  10:13.24 process-logger-
         4911 bigdata   20   0   10.1g 311272  22484 R  98.3   1.9  10:06.42 process-logger-
         4523 bigdata   20   0   10.1g 311272  22484 R  98.0   1.9  10:41.55 process-logger-
         5769 bigdata   20   0   10.1g 311272  22484 R  96.7   1.9   2:46.80 process-logger-
      ```
      
      ### _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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #941 from timothy65535/ky-940.
      
      Closes #940
      
      331b9423 [timothy65535] [KYUUBI #940] Fix process-logger-capture thread consumes high usage CPU
      Authored-by: default avatartimothy65535 <timothy65535@163.com>
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      (cherry picked from commit f21e118a
      
      )
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      0e9444b3