You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/09/30 05:23:56 UTC
[GitHub] [incubator-kyuubi] zhang1002 opened a new pull request #1183: [KYUUBI #1066] Automatically create LogRoot when the directory does not exist
zhang1002 opened a new pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183
bugfix:
#1066
### _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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] ulysses-you commented on pull request #1183: [KYUUBI #1066] Automatically create engine event log root dir when it does not exist
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183#issuecomment-938432759
thanks, merging to master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] zhang1002 commented on a change in pull request #1183: [KYUUBI #1066] Automatically create LogRoot when the directory does not exist
Posted by GitBox <gi...@apache.org>.
zhang1002 commented on a change in pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183#discussion_r719073614
##########
File path: kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala
##########
@@ -21,20 +21,27 @@ import java.net.InetAddress
import java.nio.file.Paths
import java.util.UUID
+import org.apache.hadoop.conf.Configuration
+import org.apache.hadoop.fs.{FileSystem, Path}
+
import org.apache.kyuubi.{Utils, WithKyuubiServer}
import org.apache.kyuubi.config.KyuubiConf
import org.apache.kyuubi.operation.JDBCTestUtils
import org.apache.kyuubi.operation.OperationState._
class EventLoggingServiceSuite extends WithKyuubiServer with JDBCTestUtils {
- private val logRoot = "file:" + Utils.createTempDir().toString
+ private val logRoot = "file://" + Utils.createTempDir().toString
Review comment:
yes
change this name to engineLogRoot?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] ulysses-you commented on a change in pull request #1183: [KYUUBI #1066] Automatically create LogRoot when the directory does not exist
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183#discussion_r719071557
##########
File path: kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala
##########
@@ -21,20 +21,27 @@ import java.net.InetAddress
import java.nio.file.Paths
import java.util.UUID
+import org.apache.hadoop.conf.Configuration
+import org.apache.hadoop.fs.{FileSystem, Path}
+
import org.apache.kyuubi.{Utils, WithKyuubiServer}
import org.apache.kyuubi.config.KyuubiConf
import org.apache.kyuubi.operation.JDBCTestUtils
import org.apache.kyuubi.operation.OperationState._
class EventLoggingServiceSuite extends WithKyuubiServer with JDBCTestUtils {
- private val logRoot = "file:" + Utils.createTempDir().toString
+ private val logRoot = "file://" + Utils.createTempDir().toString
Review comment:
`logRoot` means `engineLogRootDir` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] zhang1002 commented on pull request #1183: [KYUUBI #1066] Automatically create LogRoot when the directory does not exist
Posted by GitBox <gi...@apache.org>.
zhang1002 commented on pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183#issuecomment-930794476
cc @ulysses-you @yaooqinn
closed two PR...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] codecov-commenter commented on pull request #1183: [KYUUBI #1066] Automatically create engine event log root dir when it does not exist
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183#issuecomment-930812766
# [Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#1183](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (d686e33) into [master](https://codecov.io/gh/apache/incubator-kyuubi/commit/0ecf8fbc7eb2238554854c489f15bacb8a9bb73f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (0ecf8fb) will **decrease** coverage by `0.07%`.
> The diff coverage is `12.50%`.
[](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #1183 +/- ##
============================================
- Coverage 78.83% 78.75% -0.08%
Complexity 93 93
============================================
Files 182 182
Lines 6675 6683 +8
Branches 783 785 +2
============================================
+ Hits 5262 5263 +1
- Misses 966 973 +7
Partials 447 447
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...in/scala/org/apache/kyuubi/config/KyuubiConf.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWNvbW1vbi9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9jb25maWcvS3l1dWJpQ29uZi5zY2FsYQ==) | `95.33% <ø> (ø)` | |
| [...ala/org/apache/kyuubi/events/JsonEventLogger.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLWNvbW1vbi9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9ldmVudHMvSnNvbkV2ZW50TG9nZ2VyLnNjYWxh) | `0.00% <0.00%> (ø)` | |
| [...org/apache/kyuubi/server/EventLoggingService.scala](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-a3l1dWJpLXNlcnZlci9zcmMvbWFpbi9zY2FsYS9vcmcvYXBhY2hlL2t5dXViaS9zZXJ2ZXIvRXZlbnRMb2dnaW5nU2VydmljZS5zY2FsYQ==) | `90.47% <100.00%> (+0.47%)` | :arrow_up: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [0ecf8fb...d686e33](https://codecov.io/gh/apache/incubator-kyuubi/pull/1183?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-kyuubi] ulysses-you closed pull request #1183: [KYUUBI #1066] Automatically create engine event log root dir when it does not exist
Posted by GitBox <gi...@apache.org>.
ulysses-you closed pull request #1183:
URL: https://github.com/apache/incubator-kyuubi/pull/1183
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org