dongjoon-hyun commented on code in PR #52027:
URL: https://github.com/apache/spark/pull/52027#discussion_r2279873770
##########
core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala:
##########
@@ -521,6 +521,17 @@ private[spark] object SparkHadoopUtil extends Logging {
SOURCE_SPARK_HADOOP)
}
val setBySpark = SET_TO_DEFAULT_VALUES
+ // The GCS connector allows appending a custom suffix to the user-agent
string.
+ // To prepend Spark's application information, we read the existing suffix,
+ // add our prefix, and set the result back as the new suffix.
+ val sparkGcsPrefix = s"apache_spark/${org.apache.spark.SPARK_VERSION}
(GPN:apache_spark)"
Review Comment:
Could you explain where is this string comes from, `apache_spark/` ? I'm
curious why this is in this format, not `apache-spark` or other strings. Is
there any reason?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]