This is an automated email from the ASF dual-hosted git repository.
xyao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 7a3144b HDDS-4646. Remove redundant log placeholders (#1759)
7a3144b is described below
commit 7a3144b49acf2523799a88bf1acb4aacebab7fab
Author: lamber-ken <[email protected]>
AuthorDate: Thu Jan 7 03:25:21 2021 +0800
HDDS-4646. Remove redundant log placeholders (#1759)
---
.../common/transport/server/ratis/ContainerStateMachine.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java
index 94077bc..5182279 100644
---
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java
+++
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java
@@ -445,7 +445,7 @@ public class ContainerStateMachine extends BaseStateMachine
{
return runCommand(requestProto, context);
} catch (Exception e) {
LOG.error("{}: writeChunk writeStateMachineData failed: blockId" +
- "{} logIndex {} chunkName {} {}", gid, write.getBlockID(),
+ "{} logIndex {} chunkName {}", gid, write.getBlockID(),
entryIndex, write.getChunkData().getChunkName(), e);
metrics.incNumWriteDataFails();
// write chunks go in parallel. It's possible that one write chunk
@@ -458,8 +458,8 @@ public class ContainerStateMachine extends BaseStateMachine
{
writeChunkFutureMap.put(entryIndex, writeChunkFuture);
if (LOG.isDebugEnabled()) {
- LOG.error("{}: writeChunk writeStateMachineData : blockId" +
- "{} logIndex {} chunkName {} {}", gid, write.getBlockID(),
+ LOG.debug("{}: writeChunk writeStateMachineData : blockId" +
+ "{} logIndex {} chunkName {}", gid, write.getBlockID(),
entryIndex, write.getChunkData().getChunkName());
}
// Remove the future once it finishes execution from the
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]