HBASE-22106 Better log message when failing to load coprocessor
Signed-off-by: Josh Elser <elserj@apache.org>
This commit is contained in:
parent
055a47e5c3
commit
01f8e1eaa3
|
@ -284,8 +284,8 @@ public class RegionCoprocessorHost
|
|||
null : new Path(matcher.group(1).trim());
|
||||
String className = matcher.group(2).trim();
|
||||
if (className.isEmpty()) {
|
||||
LOG.error("Malformed table coprocessor specification: key=" +
|
||||
key + ", spec: " + spec);
|
||||
LOG.error("Malformed table coprocessor specification, Class name is empty: key=" + key
|
||||
+ ", spec: " + spec);
|
||||
continue;
|
||||
}
|
||||
int priority = matcher.group(3).trim().isEmpty() ?
|
||||
|
@ -315,8 +315,8 @@ public class RegionCoprocessorHost
|
|||
", spec: " + spec);
|
||||
}
|
||||
} catch (Exception ioe) {
|
||||
LOG.error("Malformed table coprocessor specification: key=" + key +
|
||||
", spec: " + spec);
|
||||
LOG.error("Malformed table coprocessor specification: key=" + key + ", spec: " + spec,
|
||||
ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue