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

Zoltan Haindrich commented on HIVE-21516:
-----------------------------------------

* please use unlink instead of rm -rf of a single file
* could you chdir into the HIVE_ROOT at the start of the script instead of 
working with relative paths (../../ crap)

> Fix spark downloading for q tests
> ---------------------------------
>
>                 Key: HIVE-21516
>                 URL: https://issues.apache.org/jira/browse/HIVE-21516
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.1.1
>            Reporter: Miklos Gergely
>            Assignee: Miklos Gergely
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21516.01.patch, HIVE-21516.02.patch
>
>
> Currently itests/pom.xml declares a command to generated the download script 
> for spark, thus it is re-generated every time any maven command is executed 
> for any sub project of itests. AS a side effect it is leaving download.sh 
> files everywhere. The download.sh file is almost totally static, no need to 
> recreate it every time, just requires $spark.version as a parameter.
> Also it is only working properly under linux, as it relies on the md5sum 
> program which is not present in OS X. This means that if the spark tarball is 
> partially downloaded on OS X, then it would never be re-downloaded. This 
> should be fixed by making it work as well using md5 on OS X.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to