kylin
kylin copied to clipboard
KYLIN-4788 add segmentName and regionName in Coprocessor deadline info
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.
- [x] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
- [x] 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...
Add segmentName and regionName to Coprocessor deadline exception info,for locating the cube and region exactly。
When Coprocessor throws dealline expcetion,the info will looks like this:
Pull Request Test Coverage Report for Build 6456
- 13 of 152 (8.55%) changed or added relevant lines in 3 files are covered.
- 16 unchanged lines in 5 files lost coverage.
- Overall coverage decreased (-0.04%) to 28.01%
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% |
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java | 2 | 4 | 50.0% |
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java | 11 | 147 | 7.48% |
<!-- | Total: | 13 | 152 |
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/ColumnarStoreCache.java | 1 | 56.82% |
stream-core/src/main/java/org/apache/kylin/stream/core/storage/CheckPointStore.java | 2 | 73.74% |
tool/src/main/java/org/apache/kylin/tool/query/ProbabilityGenerator.java | 3 | 76.32% |
core-metrics/src/main/java/org/apache/kylin/metrics/lib/impl/MetricsSystem.java | 5 | 66.67% |
storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java | 5 | 18.16% |
<!-- | Total: | 16 |
Totals | |
---|---|
Change from base Build 6452: | -0.04% |
Covered Lines: | 26259 |
Relevant Lines: | 93749 |
💛 - Coveralls
good job,+1 @xiaowangyu
Thank you for @fengpod 's patch and @bigxiaochu 's comment, I will verify and merge this patch.
Hi @fengpod , we know that apache project provide a version convention of MAJOR.MINOR.PATCH
, and this patch require user to manually upgrade coprocessor, we think it is suitable for release in next MINOR
or MAJOR
version.
We suggest to move release of this patch into next minor version (3.2.0), so we won't merge it right now.