Github user tgravescs commented on a diff in the pull request: https://github.com/apache/spark/pull/14659#discussion_r79415724 --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala --- @@ -2420,6 +2420,44 @@ private[spark] object Utils extends Logging { } } +private[spark] class CallerContext( + appName: Option[String] = None, + appID: Option[String] = None, + appAttemptID: Option[String] = None, + jobID: Option[Int] = None, + stageID: Option[Int] = None, + stageAttemptId: Option[Int] = None, + taskId: Option[Long] = None, + taskAttemptNumber: Option[Int] = None) extends Logging { + + val AppName = if (appName.isDefined) s"_AppName_${appName.get}" else "" --- End diff -- for the appName and the AppId, it feels like these should be obvious from the string so I'm not sure if we really need the extra _AppName_ and _AppID_ tags there. Are there cases you don't think that is true?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org