-
Notifications
You must be signed in to change notification settings - Fork 311
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
Allow retrying on failure for HTTPRangedByteAccess #343
Conversation
@@ -19,24 +19,41 @@ package org.bdgenomics.adam.io | |||
|
|||
import java.io.InputStream | |||
import java.net.URI | |||
import org.apache.http.{ HttpResponse, Header } | |||
import org.apache.http.client.HttpClient | |||
import org.apache.http.client.methods.{ HttpGet, HttpHead } | |||
import org.apache.http.impl.client.DefaultHttpClient | |||
import org.apache.spark.Logging | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: extra space.
@carlyeks can you rebase this? |
Sad face...Probably need to try something else... |
Move the test files to S3? Let's not close this though, it's still a useful contribution. |
Jenkins, test this please. |
@carlyeks pinging here, can you rebase this and push the change with the berkeley/s3 URLs swapped then let's get this merged. |
@carlyeks pinging here again... any updates/an ETA? |
Ping @carlyeks |
Allow retrying on failure for HTTPRangedByteAccess
Merged! Thanks @carlyeks! |
The pushes the retry logic down into HTTPRangedByteAccess instead of in the tests; this allows us to also use this in the ParquetRDD class.