Skip to content

Apache DataFusion SQL Query Engine

ARROW-7736: [Release] Retry binary download on transient error

Sutou Kouhei2276a8d1e854
diff --git a/dev/release/download_rc_binaries.py b/dev/release/download_rc_binaries.py
old mode 100644
new mode 100755
index b2dfc867bc..da66e483d3
--- a/dev/release/download_rc_binaries.py
+++ b/dev/release/download_rc_binaries.py
@@ -112,7 +112,7 @@ class Bintray:
bintray_abspath = os.path.join(BINTRAY_DL_ROOT, self.repo, relpath)
cmd = [
- 'curl', '--fail', '--location',
+ 'curl', '--fail', '--location', '--retry', '5',
'--output', dest_path, bintray_abspath
]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,