Commit 09c2e0a8 authored by Mahadev Konar's avatar Mahadev Konar
Browse files

ZOOKEEPER-1333. Fixing the logging - Patrick Hunt via mahadev

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1221865 13f79535-47bb-0310-9956-ffa450edef68
parent c8111366
......@@ -205,7 +205,7 @@ public class FileTxnSnapLog {
if (hdr.getType() == OpCode.create && rc.err == Code.NONODE.intValue()) {
int lastSlash = rc.path.lastIndexOf('/');
String parentName = rc.path.substring(0, lastSlash);
LOG.error("Failed to set parent cversion for {}", parentName);
LOG.error("Parent {} missing for {}", parentName, rc.path);
throw new KeeperException.NoNodeException(parentName);
} else {
LOG.debug("Ignoring processTxn failure hdr: " + hdr.getType() +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment