It's sort of a hack but you can exclude these as packages like this:

```
excludePackage("org.apache.spark.util.collection.ExternalAppendOnlyMap#DiskMapIterator")
excludePackage("org.apache.spark.util.collection.ExternalAppendOnlyMap#ExternalIterator")
```