Skip to content

Commit

Permalink
Fixed minor bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Sep 19, 2014
1 parent 904cd92 commit 390b45d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ private[spark] object Utils extends Logging {
for (el <- trace) {
if (insideSpark) {
if (!classFilterFunc(el.getClassName)) {
lastSparkMethod = if (el.getMethodName == "<init>") {
lastSparkMethod = if (el.getMethodName == "<init>") {
// Spark method is a constructor; get its class name
el.getClassName.substring(el.getClassName.lastIndexOf('.') + 1)
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,6 @@ abstract class DStream[T: ClassTag] (
dependencies.foreach(_.setGraph(graph))
}

/* Set the custom RDD creation site as this thread's local property. */
private def setRDDCreationSite(creationSite: CallSite): Unit = {

}

/* Get the custom RDD creation site set as this thread's local property. */
private def getRDDCreationSite(): CallSite = {
ssc.sparkContext.getCallSite()
}

private[streaming] def remember(duration: Duration) {
if (duration != null && duration > rememberDuration) {
rememberDuration = duration
Expand Down

0 comments on commit 390b45d

Please sign in to comment.