Spark runs on Yarn in EMR, and the default new RedisServer(port) constructor fails there with:
java.lang.IllegalArgumentException: resource redis-server-2.8.19 not found.
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
at com.google.common.io.Resources.getResource(Resources.java:152)
It seems URL url = loader.getResource(resourceName); results in url being null.
Spark runs on Yarn in EMR, and the default new RedisServer(port) constructor fails there with:
It seems URL url = loader.getResource(resourceName); results in url being null.