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

[KYLIN-4667] Automatically set kylin.query.cache-signature-enabled to… #1540

Merged
merged 1 commit into from
Mar 18, 2021
Merged

[KYLIN-4667] Automatically set kylin.query.cache-signature-enabled to… #1540

merged 1 commit into from
Mar 18, 2021

Conversation

Ted-Jiang
Copy link
Member

… be true when memcached is enabled

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Types of changes

What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have create an issue on Kylin's jira, and have described the bug/feature there in detail
  • Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
  • Compiling and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • If this change need a document change, I will prepare another pr against the document branch
  • Any dependent changes have been merged

Further comments

If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

@codecov-io
Copy link

Codecov Report

Merging #1540 (63ae282) into master (5c12d08) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1540      +/-   ##
============================================
- Coverage     25.42%   25.41%   -0.02%     
+ Complexity     6764     6762       -2     
============================================
  Files          1508     1508              
  Lines         93918    93923       +5     
  Branches      13158    13159       +1     
============================================
- Hits          23879    23867      -12     
- Misses        67660    67673      +13     
- Partials       2379     2383       +4     
Impacted Files Coverage Δ Complexity Δ
.../java/org/apache/kylin/common/KylinConfigBase.java 12.43% <0.00%> (-0.04%) 51.00 <0.00> (ø)
...va/org/apache/kylin/rest/service/CacheService.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...in/storage/hbase/cube/v2/CubeHBaseEndpointRPC.java 8.70% <0.00%> (ø) 4.00 <0.00> (ø)
...he/kylin/dict/lookup/cache/RocksDBLookupTable.java 72.97% <0.00%> (-5.41%) 6.00% <0.00%> (-1.00%)
.../apache/kylin/tool/query/ProbabilityGenerator.java 71.05% <0.00%> (-5.27%) 11.00% <0.00%> (ø%)
...che/kylin/stream/core/storage/CheckPointStore.java 63.63% <0.00%> (-3.04%) 21.00% <0.00%> (-1.00%)
...he/kylin/job/impl/threadpool/DefaultScheduler.java 73.25% <0.00%> (-2.33%) 12.00% <0.00%> (ø%)
.../apache/kylin/cube/cuboid/TreeCuboidScheduler.java 63.84% <0.00%> (-2.31%) 0.00% <0.00%> (ø%)

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 5c12d08...63ae282. Read the comment docs.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6736

  • 0 of 10 (0.0%) changed or added relevant lines in 3 files are covered.
  • 6 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.007%) to 27.953%

Changes Missing Coverage Covered Lines Changed/Added Lines %
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseEndpointRPC.java 0 1 0.0%
core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java 0 4 0.0%
server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java 1 81.08%
tool/src/main/java/org/apache/kylin/tool/query/ProbabilityGenerator.java 1 81.58%
core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java 2 68.46%
stream-core/src/main/java/org/apache/kylin/stream/core/storage/CheckPointStore.java 2 73.74%
Totals Coverage Status
Change from base Build 6729: -0.007%
Covered Lines: 26254
Relevant Lines: 93923

💛 - Coveralls

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import net.sf.ehcache.CacheManager;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why chenge to another org.springframework.cache.CacheManager.CacheManager, could you please explain ?

@hit-lacus hit-lacus added the Reviewing Reviewer is trying to review this patch. label Feb 20, 2021
@hit-lacus hit-lacus merged commit 49d7b9b into apache:master Mar 18, 2021
hit-lacus pushed a commit to hit-lacus/kylin that referenced this pull request Apr 19, 2021
zhangayqian pushed a commit to zhangayqian/kylin that referenced this pull request Jun 11, 2021
…e true when memcached is enabled (apache#1540)

(cherry picked from commit 49d7b9b)
zhangayqian pushed a commit to zhangayqian/kylin that referenced this pull request Jun 11, 2021
…e true when memcached is enabled (apache#1540)

(cherry picked from commit 49d7b9b)
hit-lacus pushed a commit that referenced this pull request Jun 27, 2021
…e true when memcached is enabled (#1540)

(cherry picked from commit 49d7b9b)
zhangayqian pushed a commit that referenced this pull request Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewing Reviewer is trying to review this patch.
Projects
None yet
4 participants