-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: implement aws batch retries #1
feat: implement aws batch retries #1
Conversation
…l into aws/exit_rc_file
…l into aws/exit_rc_file
Aws/batch retries
Aws/exit rc file
Update with develop
@@ -51,7 +51,7 @@ object EngineFunctionEvaluators { | |||
EvaluatedValue(WomSingleFile(ioFunctionSet.pathFunctions.stderr), Seq.empty).validNel | |||
} | |||
|
|||
private val ReadWaitTimeout = 60.seconds | |||
private val ReadWaitTimeout = 300.seconds |
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.
Curious why this needs to be larger than previous?
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.
I had a few problems with timeouts, so decided to increase it.
@@ -52,7 +52,7 @@ case class MetadataServiceActor(serviceConfig: Config, globalConfig: Config, ser | |||
private val metadataReadTimeout: Duration = | |||
serviceConfig.getOrElse[Duration]("metadata-read-query-timeout", Duration.Inf) | |||
private val metadataReadRowNumberSafetyThreshold: Int = | |||
serviceConfig.getOrElse[Int]("metadata-read-row-number-safety-threshold", 1000000) | |||
serviceConfig.getOrElse[Int]("metadata-read-row-number-safety-threshold", 3000000) |
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.
Was this due to slow db responses??
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.
Exactly
(remotePathArray zip localPathArray zipWithIndex) flatMap { | ||
case ((remotePath, localPath), index) => | ||
Seq(AwsBatchFileInput(s"$namePrefix-$index", remotePath.valueString, DefaultPathBuilder.get(localPath.valueString), workingDisk)) | ||
var localPathString = localPath.valueString | ||
// Log.warn(s"!!!RAW: ${flag}: ${remotePath.valueString} -> ${localPathString}") |
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.
Suggest removing commented code
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.
Done!
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.
Couple of questions in the comments.
No description provided.