-
Notifications
You must be signed in to change notification settings - Fork 381
Make GC work with EMR 7.0.0 #9013
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
base: master
Are you sure you want to change the base?
Conversation
@@ -127,7 +132,7 @@ object StorageUtils { | |||
|
|||
private def initializeS3Client( | |||
configuration: ClientConfiguration, | |||
credentialsProvider: Option[AWSCredentialsProvider], | |||
credentialsProvider: Option[Any], |
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.
Is it possible to keep interface of the same type that builderWithEndpoint.withCredentials
accepts instead of general object?
…rk-client-emr-7
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.
We pass AWSCredentialsProvider and still check instance type
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.
lgtm - minor comments:
- log bad format message
- some consider roleArn as sensitive information that should not be logged at default level.
} | ||
} catch { | ||
case e: io.treeverse.jpebble.BadFileFormatException => | ||
logger.error(s"File format validation failed for: ${gravelerSplit.path}", e) |
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; failed to read sstable, bad file format
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.
one comment, non blocker.
is this relevant?
} | ||
|
||
// Check for Hadoop's assumed role configuration | ||
val roleArn = System.getProperty("spark.hadoop.fs.s3a.assumed.role.arn") |
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.
please move to consts file we have
No description provided.