info.put(className, new CoprocessorInfo(className, path, priority, properties)); } catch (Exception ex) { LOG.warn("Coprocessor attribute '{}' has invalid coprocessor specification '{}'", key, spec, ex);
if (info != null) { if (!jarLocation.getName().equals(info.getPath().getName())) { newDescriptor.removeCoprocessor(info.getClassName()); addCoprocessor(newDescriptor, coprocessor, coprocessorJar.getPriority(coprocessor));
if (info != null) { if (!jarLocation.getName().equals(info.getPath().getName())) { newDescriptor.removeCoprocessor(info.getClassName()); addCoprocessor(newDescriptor, coprocessor, coprocessorJar.getPriority(coprocessor));
newDescriptor.removeCoprocessor(coprocessorEntry.getValue().getClassName());
newDescriptor.removeCoprocessor(coprocessorEntry.getValue().getClassName());
info.put(className, new CoprocessorInfo(className, path, priority, properties)); } catch (Exception ex) { LOG.warn("Coprocessor attribute '{}' has invalid coprocessor specification '{}'", key, spec, ex);