You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2020/05/19 10:42:49 UTC

[GitHub] [kylin] chenqingspring opened a new pull request #1214: [Bugfix] fix error with sending mail on ssl

chenqingspring opened a new pull request #1214:
URL: https://github.com/apache/kylin/pull/1214


   ## Proposed changes
   
   Here is context of this problem:https://www.mail-archive.com/user@kylin.apache.org/msg04009.html
   
   When I set `starttlsEnabled` to true, and specify a ssl port as 465,  the email could not be sent by this ssl port. It still use 25 default port. 
   
   The root cause is, with such config above, HTMLEmail client doesn't enable ssl connection, so we need to enable ssl connection by `setSSLOnConnect` as well when using ssl port.
   
   ## Types of changes
   [Bugfix] fix error with sending mail on ssl


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] shaofengshi merged pull request #1214: KYLIN-4515 fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
shaofengshi merged pull request #1214:
URL: https://github.com/apache/kylin/pull/1214


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] chenqingspring commented on pull request #1214: KYLIN-4515 fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
chenqingspring commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-633341324


   @shaofengshi somehow ... this issue name could be changed. Tell me if I should do anything else?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] chenqingspring commented on pull request #1214: [Bugfix] fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
chenqingspring commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-632603162


   @nichunen Sure, with my pleasure :)  [KYLIN-4515](https://issues.apache.org/jira/browse/KYLIN-4515) 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] coveralls commented on pull request #1214: [Bugfix] fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
coveralls commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-630794650


   ## Pull Request Test Coverage Report for [Build 5913](https://coveralls.io/builds/30887221)
   
   * **0** of **1**   **(0.0%)**  changed or added relevant line in **1** file are covered.
   * **7** unchanged lines in **4** files lost coverage.
   * Overall coverage decreased (**-0.003%**) to **27.291%**
   
   ---
   
   |  Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
   | :-----|--------------|--------|---: |
   | [core-common/src/main/java/org/apache/kylin/common/util/MailService.java](https://coveralls.io/builds/30887221/source?filename=core-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fcommon%2Futil%2FMailService.java#L92) | 0 | 1 | 0.0%
   <!-- | **Total:** | **0** | **1** | **0.0%** | -->
   
   |  Files with Coverage Reduction | New Missed Lines | % |
   | :-----|--------------|--: |
   | [core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java](https://coveralls.io/builds/30887221/source?filename=core-dictionary%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fdict%2Flookup%2Fcache%2FRocksDBLookupTable.java#L62) | 1 | 81.08% |
   | [stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/ColumnarStoreCache.java](https://coveralls.io/builds/30887221/source?filename=stream-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fstream%2Fcore%2Fstorage%2Fcolumnar%2FColumnarStoreCache.java#L146) | 1 | 56.82% |
   | [core-job/src/main/java/org/apache/kylin/job/impl/threadpool/DefaultScheduler.java](https://coveralls.io/builds/30887221/source?filename=core-job%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fjob%2Fimpl%2Fthreadpool%2FDefaultScheduler.java#L194) | 2 | 80.23% |
   | [core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://coveralls.io/builds/30887221/source?filename=core-cube%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fcube%2Finmemcubing%2FMemDiskStore.java#L449) | 3 | 78.42% |
   <!-- | **Total:** | **7** |  | -->
   
   |  Totals | [![Coverage Status](https://coveralls.io/builds/30887221/badge)](https://coveralls.io/builds/30887221) |
   | :-- | --: |
   | Change from base [Build 5911](https://coveralls.io/builds/30861301): |  -0.003% |
   | Covered Lines: | 24351 |
   | Relevant Lines: | 89226 |
   
   ---
   ##### 💛  - [Coveralls](https://coveralls.io)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] chenqingspring edited a comment on pull request #1214: KYLIN-4515 fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
chenqingspring edited a comment on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-632772676


   @shaofengshi Hi shaofeng, what do you mean by associating github commit? I'm trying to rename this issue start with KYLIN-4515, but it seems not editable. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] codecov-commenter commented on pull request #1214: [Bugfix] fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-630792231


   # [Codecov](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=h1) Report
   > Merging [#1214](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=desc) into [master](https://codecov.io/gh/apache/kylin/commit/7886a2498178ded085497d6204b4b367f56ce0c8&el=desc) will **decrease** coverage by `0.00%`.
   > The diff coverage is `0.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/kylin/pull/1214/graphs/tree.svg?width=650&height=150&src=pr&token=JawVgbgsVo)](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=tree)
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #1214      +/-   ##
   ============================================
   - Coverage     24.85%   24.84%   -0.01%     
   + Complexity     6265     6263       -2     
   ============================================
     Files          1453     1453              
     Lines         89225    89226       +1     
     Branches      12456    12456              
   ============================================
   - Hits          22173    22170       -3     
   - Misses        64875    64878       +3     
   - Partials       2177     2178       +1     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
   |---|---|---|---|
   | [...java/org/apache/kylin/common/util/MailService.java](https://codecov.io/gh/apache/kylin/pull/1214/diff?src=pr&el=tree#diff-Y29yZS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL2NvbW1vbi91dGlsL01haWxTZXJ2aWNlLmphdmE=) | `0.00% <0.00%> (ø)` | `0.00 <0.00> (ø)` | |
   | [...he/kylin/dict/lookup/cache/RocksDBLookupTable.java](https://codecov.io/gh/apache/kylin/pull/1214/diff?src=pr&el=tree#diff-Y29yZS1kaWN0aW9uYXJ5L3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9kaWN0L2xvb2t1cC9jYWNoZS9Sb2Nrc0RCTG9va3VwVGFibGUuamF2YQ==) | `72.97% <0.00%> (-5.41%)` | `6.00% <0.00%> (-1.00%)` | |
   | [...he/kylin/job/impl/threadpool/DefaultScheduler.java](https://codecov.io/gh/apache/kylin/pull/1214/diff?src=pr&el=tree#diff-Y29yZS1qb2Ivc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL2pvYi9pbXBsL3RocmVhZHBvb2wvRGVmYXVsdFNjaGVkdWxlci5qYXZh) | `74.41% <0.00%> (-2.33%)` | `12.00% <0.00%> (ø%)` | |
   | [...ream/core/storage/columnar/ColumnarStoreCache.java](https://codecov.io/gh/apache/kylin/pull/1214/diff?src=pr&el=tree#diff-c3RyZWFtLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL3N0cmVhbS9jb3JlL3N0b3JhZ2UvY29sdW1uYXIvQ29sdW1uYXJTdG9yZUNhY2hlLmphdmE=) | `50.00% <0.00%> (-2.28%)` | `7.00% <0.00%> (-1.00%)` | |
   | [...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://codecov.io/gh/apache/kylin/pull/1214/diff?src=pr&el=tree#diff-Y29yZS1jdWJlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9jdWJlL2lubWVtY3ViaW5nL01lbURpc2tTdG9yZS5qYXZh) | `70.21% <0.00%> (+0.91%)` | `7.00% <0.00%> (ø%)` | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=footer). Last update [7886a24...5a94852](https://codecov.io/gh/apache/kylin/pull/1214?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] nichunen commented on pull request #1214: [Bugfix] fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
nichunen commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-631390380


   @chenqingspring Thanks for your pr, would you please open a jira for the issue?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kylin] chenqingspring commented on pull request #1214: [Bugfix] fix error with sending mail on ssl

Posted by GitBox <gi...@apache.org>.
chenqingspring commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-632772676


   @shaofengshi Hi xiaofeng, what do you mean by associating github commit? I'm trying to rename this issue start with KYLIN-4515, but it seems not editable. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org