scalding icon indicating copy to clipboard operation
scalding copied to clipboard

Disable Cascading update checks in JobTest

Open reconditesea opened this issue 12 years ago • 1 comments

We found internally that: if a test is running long enough, it will kick off a cascading update check schedule. The cause is code below: https://github.com/Cascading/cascading/blob/2.5/cascading-core/src/main/java/cascading/util/Update.java#L69

Does it make sense to disable this automatic check in JobTest, by adding System.setProperty("cascading.update.skip", "true") in https://github.com/twitter/scalding/blob/develop/scalding-core/src/main/scala/com/twitter/scalding/JobTest.scala#L190?

reconditesea avatar Sep 11 '14 01:09 reconditesea

Yes it does make sense.

PR?

Also, it makes sense for us to disable this in our internal TwitterJob subclass.

johnynek avatar Sep 11 '14 02:09 johnynek