Skip to content

Apache DataFusion SQL Query Engine

ARROW-6439: [R] Implement S3 file-system interface in R

Neal Richardson6f65825739fc
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index fdca3bdc18..a9f72934b7 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -156,6 +156,9 @@ jobs:
with:
fetch-depth: 0
- name: Make R tests verbose
+ # If you get a segfault/mysterious test Execution halted,
+ # make this `true` to see where it dies.
+ if: false
shell: cmd
run: |
cd r/tests
diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.sh
index 697241e79d..21284eef0f 100755
--- a/ci/scripts/cpp_test.sh
+++ b/ci/scripts/cpp_test.sh
@@ -28,6 +28,10 @@ export ARROW_TEST_DATA=${arrow_dir}/testing/data
export PARQUET_TEST_DATA=${source_dir}/submodules/parquet-testing/data
export LD_LIBRARY_PATH=${ARROW_HOME}/${CMAKE_INSTALL_LIBDIR:-lib}:${LD_LIBRARY_PATH}
+# By default, aws-sdk tries to contact a non-existing local ip host
+# to retrieve metadata. Disable this so that S3FileSystem tests run faster.
+export AWS_EC2_METADATA_DISABLED=TRUE
+
case "$(uname)" in
Linux)
n_jobs=$(nproc)
diff --git a/ci/scripts/r_test.sh b/ci/scripts/r_test.sh
index e79fac5f36..df6b1697ac 100755
--- a/ci/scripts/r_test.sh
+++ b/ci/scripts/r_test.sh
@@ -42,6 +42,9 @@ export _R_CHECK_TESTS_NLINES_=0
export _R_CHECK_CRAN_INCOMING_REMOTE_=FALSE
export _R_CHECK_LIMIT_CORES_=FALSE
export VERSION=$(grep ^Version DESCRIPTION | sed s/Version:\ //)
+# By default, aws-sdk tries to contact a non-existing local ip host
+# to retrieve metadata. Disable this so that S3FileSystem tests run faster.
+export AWS_EC2_METADATA_DISABLED=TRUE
# Make sure we aren't writing to the home dir (CRAN _hates_ this but there is no official check)
BEFORE=$(ls -alh ~/)