xinglin commented on PR #6266:
URL: https://github.com/apache/hadoop/pull/6266#issuecomment-1817339327
qq: which version of hadoop did you run? Does `triggerActiveLogRoll()`
actually try to connect other NN as well? Is your issue happening for trunk? By
reading the source code, that does not seem to be the case.
log line of "Triggering log rolling to the remote NameNode, ": is this
truncated in your paste? seems to be incomplete compared to trunk.
```
/**
* Trigger the active node to roll its logs.
*/
@VisibleForTesting
void triggerActiveLogRoll() {
Future<Void> future = null;
try {
...
}
Callable<Void> getNameNodeProxy() {
return new MultipleNameNodeProxy<Void>() {
@Override
protected Void doWork() throws IOException {
LOG.info("Triggering log rolling to the remote NameNode, " +
"active NameNode = {}", currentNN.getIpcAddress());
cachedActiveProxy.rollEditLog();
return null;
}
};
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]