[ 
https://issues.apache.org/jira/browse/DRILL-7627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053582#comment-17053582
 ] 

ASF GitHub Bot commented on DRILL-7627:
---------------------------------------

arina-ielchiieva commented on issue #2014: DRILL-7627: Update MySql version for 
JdbcStoragePlugin tests and cache ~/.embedmysql
URL: https://github.com/apache/drill/pull/2014#issuecomment-595855226
 
 
   @vvysotskyi thanks tor review.
   Checked thank cache was applied.
   ```
   Run actions/cache@v1
     with:
       path: ~/.embedmysql
       key: Linux-mysql
   Cache Size: ~683 MB (715675851 B)
   /bin/tar -xz -f 
/home/runner/work/_temp/001d6277-79ec-4b5a-833b-e15693008149/cache.tgz -C 
/home/runner/.embedmysql
   Cache restored from key: Linux-mysql
   ```
   Also checked in logs that MySql lib was not downloaded during the second run.
 
----------------------------------------------------------------
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:
[email protected]


> Update MySql version for JdbcStoragePlugin tests and cache ~/.embedmysql 
> -------------------------------------------------------------------------
>
>                 Key: DRILL-7627
>                 URL: https://issues.apache.org/jira/browse/DRILL-7627
>             Project: Apache Drill
>          Issue Type: Task
>    Affects Versions: 1.17.0
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>            Priority: Major
>              Labels: ready-to-commit
>             Fix For: 1.18.0
>
>
> When running tests on clean env (or when ~/.embedmysql is cleaned), currently 
> there are issues when downloading MySQL version v5_6_21, download hangs and 
> JdbcStoragePlugin tests fail with timeout. 
> {noformat}
> Download Version 5.6.21:Linux:B64 START
> Download Version 5.6.21:Linux:B64 DownloadSize: 311516309
> Download Version 5.6.21:Linux:B64 0%
> Download Version 5.6.21:Linux:B64 5%
> Download Version 5.6.21:Linux:B64 10%
> Download Version 5.6.21:Linux:B64 15%
> Download Version 5.6.21:Linux:B64 20%
> Download Version 5.6.21:Linux:B64 25%
> Download Version 5.6.21:Linux:B64 30%
> Download Version 5.6.21:Linux:B64 35%
> Download Version 5.6.21:Linux:B64 40%
> Download Version 5.6.21:Linux:B64 45%
> Download Version 5.6.21:Linux:B64 50%
> Download Version 5.6.21:Linux:B64 55%
> Download Version 5.6.21:Linux:B64 60%
> TestJdbcPluginWithMySQLIT.initMysql:70 ยป Distribution 
> java.net.SocketTimeoutEx.
> {noformat}
> Workaround is manually to download MySQL:
> {noformat}
> mkdir -p ~/.embedmysql/MySQL-5.6
> wget -P ~/Downloads 
> http://mirror.cogentco.com/pub/mysql/MySQL-5.6/mysql-5.6.21-linux-glibc2.5-x86_64.tar.gz
> cp ~/Downloads/mysql-5.6.21-linux-glibc2.5-x86_64.tar.gz 
> ~/.embedmysql/MySQL-5.6/mysql-5.6.21-linux-glibc2.5-x86_64.tar.gz
> {noformat}
> Upgrading to the latest available MySQL version (5_7_27) fixes this issue.
> Also it would be nice to cache  ~/.embedmysql  folder during GitHub Actions 
> CI run to spare time spent on downloading and unpacking.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to