hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18443) Ensure git gc finished in ptest prep phase before copying repo
Date Mon, 15 Jan 2018 10:04:00 GMT

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

Peter Vary updated HIVE-18443:
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master.

Thanks [~szita] for your patch!

> Ensure git gc finished in ptest prep phase before copying repo
> --------------------------------------------------------------
>
>                 Key: HIVE-18443
>                 URL: https://issues.apache.org/jira/browse/HIVE-18443
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Testing Infrastructure
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18443.0.patch
>
>
> In ptest's prep phase script first we checkout the latest Hive code from git, and then
we make copy of its contents (along .git folder) for that will serve as Yetus' working directory.
> In some cases we can see errors such as
> {code}
> + cp -R . ../yetus
> cp: cannot stat ?./.git/gc.pid?: No such file or directory
> {code}
> e.g. [here|https://issues.apache.org/jira/browse/HIVE-18372?focusedCommentId=16321507&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16321507]
> This is caused by git running its gc feature in the background when our prep script has
already started copying. In cases where gc finishes while cp is running, we'll get this error



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

Mime
View raw message