[
https://issues.apache.org/jira/browse/ARROW-9224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved ARROW-9224.
---------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 7541
[https://github.com/apache/arrow/pull/7541]
> [Dev][Archery] Copy local repo on clone failure
> -----------------------------------------------
>
> Key: ARROW-9224
> URL: https://issues.apache.org/jira/browse/ARROW-9224
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Archery
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> `archery benchmark diff` runs "git clone --local" to clone source code
> to /tmp. If /tmp and source directory are not in same disk volume, it
> fails with below error messages because "git clone --local" uses hard
> links which only works in same volume.
> Error log:
> fatal: failed to create link
> '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow/.git/objects/2d/80a4d2da431dbfe3c736b6349eb4a0bcb6ece5':
> Invalid cross-device link
> subprocess.CalledProcessError: Command '['git', 'clone', '--local',
> PosixPath('/home/cyb/arrow'),
> '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow']' returned non-zero exit
> status 128.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)