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. 04 Sep, 2021 1 commit
  2. 30 Aug, 2021 4 commits
  3. 27 Aug, 2021 2 commits
  4. 25 Aug, 2021 5 commits
  5. 23 Aug, 2021 1 commit
  6. 22 Aug, 2021 3 commits
  7. 21 Aug, 2021 1 commit
    • Min Zhao's avatar
      [KYUUBI #659] Add UDF engine_name · 4de2976f
      Min Zhao 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/NetEase/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 UDF engine_name to show the runtime information about execution 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
      
      - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #747 from zhaomin1423/udf.
      
      Closes #659
      
      8c3b3c16 [Min Zhao] Merge branch 'master' into udf
      f184a661 [Min Zhao] Merge branch 'master' into udf
      9ea0c190 [Min Zhao] get appName from driver side
      09f07523 [Min Zhao] get conf by SparkEnv.get.conf in the engine_name udf
      6c000784 [Min Zhao] update the description of the engine_name udf
      63ef2762 [Min Zhao] update class to org.apache.kyuubi.engine.spark.udf.KyuubiDefinedFunctionSuite in functions.md
      db02884c [Min Zhao] [KYUUBI #659] Add UDF engine_name
      Lead-authored-by: default avatarMin Zhao <zhaomin1423@163.com>
      Co-authored-by: default avatarMin Zhao <49054376+zhaomin1423@users.noreply.github.com>
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      (cherry picked from commit 8bab5b8d
      
      )
      Signed-off-by: default avatarCheng Pan <chengpan@apache.org>
      Unverified
      4de2976f
  8. 20 Aug, 2021 1 commit
  9. 19 Aug, 2021 2 commits
  10. 18 Aug, 2021 2 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
    • 张宇翔'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>
      Unverified
      e4c35d58
  11. 17 Aug, 2021 2 commits
  12. 14 Aug, 2021 1 commit
  13. 12 Aug, 2021 2 commits
  14. 11 Aug, 2021 1 commit
  15. 10 Aug, 2021 2 commits
  16. 09 Aug, 2021 2 commits
    • timothy65535's avatar
      [KYUUBI #902] Wrong operation statistics on kyuubi page · 89d03126
      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.
      -->
      
      When serveral sql statements finished, wrong statistics of operations are displayed on kyuubi page.
      ```
      1 session(s) are online, running 5 operations
      ```
      
      ![image](https://user-images.githubusercontent.com/86483005/128631227-9bbb30f3-25ad-4c18-90f9-dd63da0cff1b.png)
      
      **ROOT CAUSE**
      When run each statement, will run `getTypeInfo` internally.
      
      **SparkSQL Engine Log**
      ```
      2021-08-08 14:31:40.086 INFO log.OperationLog: Creating operation log file /tmp/hadoop-08fa33a4-0aee-4556-865e-bb9866f3fb3a/operation_logs/b9ba0414-4960-4e3a-b31c-717b9dcdd1e1/84e35aea-f84e-4da1-a827-97e818062d78
      2021-08-08 14:31:40.087 INFO operation.GetTypeInfo: Processing hadoop's query[2714ab78-b9f6-4fd2-ac43-dc9d0ac52157]: INITIALIZED_STATE -> RUNNING_STATE, statement: GET_TYPE_INFO
      2021-08-08 14:31:40.088 INFO operation.GetTypeInfo: Processing hadoop's query[2714ab78-b9f6-4fd2-ac43-dc9d0ac52157]: RUNNING_STATE -> FINISHED_STATE, statement: GET_TYPE_INFO, time taken: 0.001 seconds
      2021-08-08 14:31:40.088 INFO monitor.KyuubiStatementMonitor: Add kyuubiStatementInfo into queue is [true], statementId is [84e35aea-f84e-4da1-a827-97e818062d78]
      2021-08-08 14:31:40.088 INFO operation.ExecuteStatement: s statemendId 84e35aea-f84e-4da1-a827-97e818062d78, sessionId: b9ba0414-4960-4e3a-b31c-717b9dcdd1e1
      2021-08-08 14:31:40.088 INFO operation.ExecuteStatement: s statemendId 84e35aea-f84e-4da1-a827-97e818062d78, sessionId: b9ba0414-4960-4e3a-b31c-717b9dcdd1e1
      2021-08-08 14:31:40.088 INFO operation.ExecuteStatement: s statemendId 84e35aea-f84e-4da1-a827-97e818062d78, sessionId: b9ba0414-4960-4e3a-b31c-717b9dcdd1e1
      2021-08-08 14:31:40.088 INFO operation.ExecuteStatement: Processing hadoop's query[84e35aea-f84e-4da1-a827-97e818062d78]: INITIALIZED_STATE -> PENDING_STATE, statement: select 1
      2021-08-08 14:31:40.089 INFO operation.ExecuteStatement: Processing hadoop's query[84e35aea-f84e-4da1-a827-97e818062d78]: PENDING_STATE -> RUNNING_STATE, statement: select 1
      ```
      
      ### _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 #904 from timothy65535/ky-902.
      
      Closes #902
      
      e5bce883 [timothy65535] [KYUUBI #902] Wrong operation statistics on kyuubi page
      Authored-by: default avatartimothy65535 <timothy65535@163.com>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      Unverified
      89d03126
    • Kent Yao's avatar
      [KYUUBI #892] Make JsonEventLogger compatible with HDFS-like FileSystems · 52d10f18
      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.
      -->
      
      FSDataOutputStream is used for this
      ### _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/tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #892 from yaooqinn/2021080417.
      
      Closes #892
      
      e291a73c [Kent Yao] nit
      e6ebef1a [Kent Yao] Make JsonEventLogger compatible with HDFS-like FileSystems
      Authored-by: default avatarKent Yao <yao@apache.org>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      Unverified
      52d10f18
  17. 06 Aug, 2021 1 commit
  18. 04 Aug, 2021 1 commit
    • Cheng Pan's avatar
      [KYUUBI #888] Add scala version suffix on scala modules · 4fecf139
      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.
      -->
      - Add scala version suffix on scala modules to match the name pattern.
      - Enable `kyuubi-extension-spark-3-1` in daily publish snapshot
      
      ### _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 #888 from pan3793/scala.
      
      Closes #888
      
      571eb9c3 [Cheng Pan] comments
      16cb263a [Cheng Pan] remove hardcode scala version in pom
      6090c798 [Cheng Pan] Fix shade
      5178847f [Cheng Pan] Fixup
      a1547753 [Cheng Pan] Fix engine jar name
      2cf4793e [Cheng Pan] fix
      cac96531 [Cheng Pan] Enable kyuubi-extension-spark-3-1 in daily publish snapshot
      1ca31de5 [Cheng Pan] Add scala version suffix on scala modules
      Authored-by: default avatarCheng Pan <chengpan@apache.org>
      Signed-off-by: default avatarulysses-you <ulyssesyou18@gmail.com>
      4fecf139
  19. 03 Aug, 2021 1 commit
    • Kent Yao's avatar
      [KYUUBI #885] Add Event for Engine · f6d5069b
      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.
      -->
      
      ### _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
      
      - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #885 from yaooqinn/engineevent.
      
      Closes #885
      
      6a7ac341 [Kent Yao] refine
      41baf0e7 [Kent Yao] refine
      2c141a06 [Kent Yao] test history server
      d1b0823a [Kent Yao] test history server
      3aae8417 [Kent Yao] dump the final engine status
      257e50f5 [Kent Yao] Add Event for Engine
      f1f1f0e8 [Kent Yao] Add Event for Engine
      85addc6e [Kent Yao] Add Event for Engine
      cece5888 [Kent Yao] Add Event for Engine
      Authored-by: default avatarKent Yao <yao@apache.org>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      Unverified
      f6d5069b
  20. 30 Jul, 2021 1 commit
  21. 28 Jul, 2021 1 commit
    • Cheng Pan's avatar
      [KYUUBI #857] Support init SQL for each session · b963b75d
      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?_
      - [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/tools/testing.html#running-tests
      
      ) locally before make a pull request
      
      Closes #857 from pan3793/seesion-init-sql.
      
      Closes #857
      
      f6f59196 [Cheng Pan] remove unnecessary change
      4960830a [Cheng Pan] run ENGINE_SESSION_INITIALIZE_SQL when engine startup
      6e8100fa [Cheng Pan] address comments
      08f4af62 [Cheng Pan] address comments
      2bb1bb85 [Cheng Pan] fix import
      880b38ec [Cheng Pan] session initialize sql will only execute once in single session mode
      2a646890 [Cheng Pan] test session initialize sql will not execute in single session mode
      f03f3eff [Cheng Pan] update doc
      6e4a72f2 [Cheng Pan] address comments
      34285e25 [Cheng Pan] format
      6d978025 [Cheng Pan] revert log4j conf change
      881a89e0 [Cheng Pan] improve test
      b9ec18c9 [Cheng Pan] fix ut and add log
      b4f586d8 [Cheng Pan] Support init SQL for each session
      Lead-authored-by: default avatarCheng Pan <chengpan@apache.org>
      Co-authored-by: default avatarCheng Pan <379377944@qq.com>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      Unverified
      b963b75d
  22. 27 Jul, 2021 1 commit
    • Kent Yao's avatar
      [KYUUBI #868] Avoid calling a stopped SparkContext · d5104ed2
      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.
      -->
      
      We shall avoid calling cancelJobGroup if the sc is already stopped.
      
      We shall stop the engine to stop serving before we stop the sc during the shutdown hook
      
      ### _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 #868 from yaooqinn/shutdownhook.
      
      Closes #868
      
      14810875 [Kent Yao] comment
      972e2741 [Kent Yao] Avoid calling a stopped SparkContext
      Authored-by: default avatarKent Yao <yao@apache.org>
      Signed-off-by: default avatarKent Yao <yao@apache.org>
      Unverified
      d5104ed2
  23. 23 Jul, 2021 2 commits