Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable S3 access #332

Merged
merged 3 commits into from Jul 25, 2019

Conversation

@jrwiebe
Copy link
Contributor

commented Jul 25, 2019

This PR responds to issue #319. It enables access to data stored in S3 by including necessary dependencies, and changing how the FileSystem is detected in RecordLoader.loadArchives. See the issue discussion for a description of the two scenarios where AWS authentication currently fails due to reliance on an outdated version of Hadoop (i.e., use of temporary credentials, and Signature Version 4). This can be tested with the example code provided in the issue.

@ianmilligan1
Copy link
Member

left a comment

Tested yesterday with data held in a us-west-2 bucket and it worked flawlessly. Great work, @jrwiebe!

Screen_Shot_2019-07-24_at_9_55_17_AM

@codecov-io

This comment has been minimized.

Copy link

commented Jul 25, 2019

Codecov Report

Merging #332 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #332      +/-   ##
========================================
+ Coverage   74.97%    75%   +0.02%     
========================================
  Files          39     39              
  Lines        1123   1124       +1     
  Branches      197    197              
========================================
+ Hits          842    843       +1     
  Misses        215    215              
  Partials       66     66
Impacted Files Coverage Δ
src/main/scala/io/archivesunleashed/package.scala 84.68% <100%> (+0.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19b49e1...e4c49e8. Read the comment docs.

@ruebot

ruebot approved these changes Jul 25, 2019

@ruebot ruebot merged commit 64c1f1f into master Jul 25, 2019

3 checks passed

codecov/patch 100% of diff hit (target 74.97%)
Details
codecov/project 75% (+0.02%) compared to 19b49e1
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ruebot ruebot deleted the s3 branch Jul 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.