/** * Identifies and returns the JAR file declaring the {@link Class} of the given {@code object} or {@code null} if * no such file could be determined. */ public static String getDeclaringJar(Object object) { Validate.notNull(object); return getDeclaringJar(object.getClass()); }
if (!sparkContext.isLocal()) { this.registerJarIfNotNull(ReflectionUtils.getDeclaringJar(SparkPlatform.class)); // rheem-spark this.registerJarIfNotNull(ReflectionUtils.getDeclaringJar(RheemBasic.class)); // rheem-basic this.registerJarIfNotNull(ReflectionUtils.getDeclaringJar(RheemContext.class)); // rheem-core final Set<String> udfJarPaths = job.getUdfJarPaths(); if (udfJarPaths.isEmpty()) {