YARN-11080. Improve debug log in ContainerTokenIdentifier when writing ContainerTokenIdentifier to RPC layer
This commit is contained in:
parent
365375412f
commit
ac853cae4b
|
@ -326,7 +326,9 @@ public class ContainerTokenIdentifier extends TokenIdentifier {
|
|||
|
||||
@Override
|
||||
public void write(DataOutput out) throws IOException {
|
||||
LOG.debug("Writing ContainerTokenIdentifier to RPC layer: {}", this);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Writing ContainerTokenIdentifier to RPC layer: {}", this);
|
||||
}
|
||||
out.write(proto.toByteArray());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue