{"push_id":691411711,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"19e30b48f3c6d0b72871d3e15b9564c1b2822700","before":"30ebf1a233295539c2455bd838bae7315711e1e2","commits":[{"sha":"19e30b48f3c6d0b72871d3e15b9564c1b2822700","author":{"email":"130a8c2510da53d4596e307e12003003207f1b66@uk.ibm.com","name":"Adam Roberts"},"message":"[SPARK-7756] CORE RDDOperationScope fix for IBM Java\n\nIBM Java has an extra method when we do getStackTrace(): this is \"getStackTraceImpl\", a native method. This causes two tests to fail within \"DStreamScopeSuite\" when running with IBM Java. Instead of \"map\" or \"filter\" being the method names found, \"getStackTrace\" is returned. This commit addresses such an issue by using dropWhile. Given that our current method is withScope, we look for the next method that isn't ours: we don't care about methods that come before us in the stack trace: e.g. getStackTrace (regardless of how many levels this might go).\n\nIBM:\njava.lang.Thread.getStackTraceImpl(Native Method)\njava.lang.Thread.getStackTrace(Thread.java:1117)\norg.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:104)\n\nOracle:\nPRINTING STACKTRACE!!!\njava.lang.Thread.getStackTrace(Thread.java:1552)\norg.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:106)\n\nI've tested this with Oracle and IBM Java, no side effects for other tests introduced.\n\nAuthor: Adam Roberts <aroberts@uk.ibm.com>\nAuthor: a-roberts <aroberts@uk.ibm.com>\n\nCloses #6740 from a-roberts/RDDScopeStackCrawlFix and squashes the following commits:\n\n13ce390 [Adam Roberts] Ensure consistency with String equality checking\na4fc0e0 [a-roberts] Update RDDOperationScope.scala","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/19e30b48f3c6d0b72871d3e15b9564c1b2822700"}]}