Skip to content

Commit

Permalink
HDFS-17404. Add NN Socket Address to log when processing command from…
Browse files Browse the repository at this point in the history
… active NN (#6598)

* Add nnSocketAddress to log when processing command from active nn
  • Loading branch information
Jtdellaringa authored Mar 5, 2024
1 parent dae871e commit a2d7241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ assert getBlockPoolId().equals(bp) :
((BlockRecoveryCommand)cmd).getRecoveringBlocks());
break;
case DatanodeProtocol.DNA_ACCESSKEYUPDATE:
LOG.info("DatanodeCommand action: DNA_ACCESSKEYUPDATE");
LOG.info("DatanodeCommand action from active NN {}: DNA_ACCESSKEYUPDATE", nnSocketAddress);
if (dn.isBlockTokenEnabled) {
dn.blockPoolTokenSecretManager.addKeys(
getBlockPoolId(),
Expand Down

0 comments on commit a2d7241

Please sign in to comment.