Skip to content

KYLIN-3908 KylinClient's HttpRequest.releaseConnection is not needed in retrieveMetaData & executeKylinQuery#551

Merged
shaofengshi merged 2 commits intoapache:masterfrom
leonliao:bugfix/KYLIN-3908
Mar 28, 2019
Merged

KYLIN-3908 KylinClient's HttpRequest.releaseConnection is not needed in retrieveMetaData & executeKylinQuery#551
shaofengshi merged 2 commits intoapache:masterfrom
leonliao:bugfix/KYLIN-3908

Conversation

@leonliao
Copy link
Copy Markdown

This update intends to make the code to handle HTTP connection releasing not confusing.
Issue description is at https://issues.apache.org/jira/browse/KYLIN-3908

@asfgit
Copy link
Copy Markdown

asfgit commented Mar 26, 2019

Can one of the admins verify this patch?

1 similar comment
@asfgit
Copy link
Copy Markdown

asfgit commented Mar 26, 2019

Can one of the admins verify this patch?

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 26, 2019

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #551 into master will increase coverage by 0.93%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #551      +/-   ##
============================================
+ Coverage     24.43%   25.36%   +0.93%     
- Complexity     5027     5795     +768     
============================================
  Files          1161     1371     +210     
  Lines         70461    81100   +10639     
  Branches      10020    11369    +1349     
============================================
+ Hits          17216    20570    +3354     
- Misses        51513    58518    +7005     
- Partials       1732     2012     +280
Impacted Files Coverage Δ Complexity Δ
...c/main/java/org/apache/kylin/jdbc/KylinClient.java 62.38% <71.42%> (ø) 34 <0> (ø) ⬇️
...in/java/org/apache/kylin/common/util/TimeUtil.java 60.78% <0%> (-33.16%) 8% <0%> (ø)
.../java/org/apache/kylin/storage/StorageFactory.java 47.05% <0%> (-7.49%) 3% <0%> (ø)
...he/kylin/dict/lookup/cache/RocksDBLookupTable.java 72.97% <0%> (-5.41%) 6% <0%> (-1%)
...org/apache/kylin/rest/util/QueryRequestLimits.java 35.71% <0%> (-4.77%) 5% <0%> (-1%)
...c/main/java/org/apache/kylin/cube/CubeSegment.java 49.55% <0%> (-3.56%) 63% <0%> (ø)
...ava/org/apache/kylin/measure/topn/TopNCounter.java 75.75% <0%> (-2.37%) 23% <0%> (ø)
.../apache/kylin/cube/cuboid/TreeCuboidScheduler.java 63.84% <0%> (-2.31%) 0% <0%> (ø)
...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java 69.3% <0%> (-1.83%) 7% <0%> (ø)
...he/kylin/common/persistence/FileResourceStore.java 59.52% <0%> (-1.2%) 24% <0%> (-1%)
... and 231 more

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 6ee0212...7195cbd. Read the comment docs.

Copy link
Copy Markdown
Contributor

@shaofengshi shaofengshi left a comment

Choose a reason for hiding this comment

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

LGTM, thank you Leon!

@shaofengshi shaofengshi merged commit 9ab6c2f into apache:master Mar 28, 2019
nichunen pushed a commit to nichunen/kylin that referenced this pull request May 15, 2019
…in retrieveMetaData & executeKylinQuery (apache#551)

KYLIN-3908 httpRequest.releaseConnection enclosed with a finally block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants