[ 
https://issues.apache.org/jira/browse/HIVE-28968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis resolved HIVE-28968.
----------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/hive/commit/45709a67b9ae9dbe1497a38f8db8a45153b9d0c1

> In CI use dedicated project-local .m2 directory for storing maven artifacts
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-28968
>                 URL: https://issues.apache.org/jira/browse/HIVE-28968
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Currently the maven artifacts are stored under [.git/.m2 
> directory|https://github.com/apache/hive/blob/aeda0627030ec0bb7d299e38a08eb29860b51173/Jenkinsfile#L100].
>  In terms of functionality the exact location (.git/.m2 vs .m2) does not 
> matter. However, putting the artifacts under the .git folder can lead into 
> confusion and false conclusions for people not very familiar with the 
> specificities of the CI.
> For instance, someone who is not gonna look into detail on what is present 
> under the .git directory may think that the .git data for the project are 
> huge. Using commands such asĀ {{du -h --max-depth=1}}, which is also used in 
> [some places by the 
> CI|https://github.com/apache/hive/blob/aeda0627030ec0bb7d299e38a08eb29860b51173/Jenkinsfile#L106],
>  can endorse such false impressions.
> Moreover, the .m2 directory is a more common place for storing the maven 
> artifacts in CI/CD pipelines.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to