Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/1723#discussion_r16337534
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala ---
@@ -106,6 +106,27 @@ abstract class DStream[T: ClassTag] (
/** Return the StreamingContext associated with this DStream */
def context = ssc
+ /* Find the creation callSite */
+ val creationSite = Utils.getCallSite
+
+ /* Store the creation callSite in threadlocal */
+ private[streaming] def setCreationCallSite() = {
--- End diff --
Can you change these method names to `setRDD***CallSite` to make it clear
that this does not affect the callsite of the DStream but of the RDDs generated
by the DStream. Also, just `private` is sufficient, as this is not being used
by any other class other than DStream.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]