File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
core/src/main/scala/org/apache/spark/util
streaming/src/main/scala/org/apache/spark/streaming/dstream Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -906,7 +906,7 @@ private[spark] object Utils extends Logging {
906906 for (el <- trace) {
907907 if (insideSpark) {
908908 if (! classFilterFunc(el.getClassName)) {
909- lastSparkMethod = if (el.getMethodName == " <init>" ) {
909+ lastSparkMethod = if (el.getMethodName == " <init>" ) {
910910 // Spark method is a constructor; get its class name
911911 el.getClassName.substring(el.getClassName.lastIndexOf('.' ) + 1 )
912912 } else {
Original file line number Diff line number Diff line change @@ -253,16 +253,6 @@ abstract class DStream[T: ClassTag] (
253253 dependencies.foreach(_.setGraph(graph))
254254 }
255255
256- /* Set the custom RDD creation site as this thread's local property. */
257- private def setRDDCreationSite (creationSite : CallSite ): Unit = {
258-
259- }
260-
261- /* Get the custom RDD creation site set as this thread's local property. */
262- private def getRDDCreationSite (): CallSite = {
263- ssc.sparkContext.getCallSite()
264- }
265-
266256 private [streaming] def remember (duration : Duration ) {
267257 if (duration != null && duration > rememberDuration) {
268258 rememberDuration = duration
You can’t perform that action at this time.
0 commit comments