Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #2227] Fix operation log dir not deleted issue #2229

Closed
wants to merge 1 commit into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Mar 27, 2022

Why are the changes needed?

Refer: #2208 (comment)

To close #2227

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 locally before make a pull request

@ulysses-you
Copy link
Contributor

thanks for the fix

@turboFei turboFei changed the title Fix operation log dir not deleted issue [KYUUBI #2227] Fix operation log dir not deleted issue Mar 27, 2022
@turboFei
Copy link
Member Author

thanks for the quick review

@codecov-commenter
Copy link

Codecov Report

Merging #2229 (bf7efca) into master (86cd685) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2229      +/-   ##
============================================
- Coverage     61.80%   61.80%   -0.01%     
  Complexity       69       69              
============================================
  Files           331      331              
  Lines         16016    16018       +2     
  Branches       2031     2031              
============================================
+ Hits           9899     9900       +1     
- Misses         5295     5297       +2     
+ Partials        822      821       -1     
Impacted Files Coverage Δ
...ala/org/apache/kyuubi/session/SessionManager.scala 85.71% <100.00%> (ø)
...org/apache/kyuubi/ha/client/ServiceDiscovery.scala 89.28% <0.00%> (-3.58%) ⬇️
...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala 85.59% <0.00%> (+0.24%) ⬆️
...ache/kyuubi/operation/KyuubiOperationManager.scala 96.07% <0.00%> (+1.96%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86cd685...bf7efca. Read the comment docs.

@turboFei turboFei closed this in 55052f9 Mar 27, 2022
@yaooqinn yaooqinn added this to the v1.6.0 milestone Mar 28, 2022
ulysses-you pushed a commit that referenced this pull request Jun 9, 2022
### _Why are the changes needed?_

Refer: #2208 (comment)

To close #2227

### _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 #2229 from turboFei/delete_log.

Closes #2227

bf7efca [Fei Wang] delete log dir with recurisive

Authored-by: Fei Wang <fwang12@ebay.com>
Signed-off-by: Fei Wang <fwang12@ebay.com>
(cherry picked from commit 55052f9)
Signed-off-by: ulysses-you <ulyssesyou@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Failed to delete session operation log directory
4 participants