Skip to content

Commit 976dc57

Browse files
committed
address comments from @vanzin
1 parent d8fd8dc commit 976dc57

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ class SparkHadoopUtil extends Logging {
9595
val sessionToken = System.getenv("AWS_SESSION_TOKEN")
9696
if (sessionToken != null) {
9797
hadoopConf.set("fs.s3a.session.token", sessionToken)
98-
logDebug(s"Found 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY' and " +
99-
s"'AWS_SESSION_TOKEN', propagate them to cluster.")
100-
} else {
101-
logDebug(s"Found 'AWS_ACCESS_KEY_ID' and 'AWS_SECRET_ACCESS_KEY', " +
102-
s"propagate them to cluster.")
10398
}
10499
}
105100
// Copy any "spark.hadoop.foo=bar" system properties into conf as "foo=bar"

0 commit comments

Comments
 (0)