Skip to content

Comments

HBASE-29871 During WAL write times out add DataNode address in. the exception message#7719

Merged
Apache9 merged 3 commits intoapache:masterfrom
srinireddy2020:HBASE-29871
Feb 24, 2026
Merged

HBASE-29871 During WAL write times out add DataNode address in. the exception message#7719
Apache9 merged 3 commits intoapache:masterfrom
srinireddy2020:HBASE-29871

Conversation

@srinireddy2020
Copy link
Contributor

For better debug, add datanode address to the exception message during WAL write times out

if (evt instanceof IdleStateEvent && ((IdleStateEvent) evt).state() == READER_IDLE) {
promise
.tryFailure(new IOException("Timeout(" + timeoutMs + "ms) waiting for response"));
promise.tryFailure(new IOException(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@srinireddy2020
In other two places we are logging "channel.remoteAddress" in message and here dnInfo.toString.

Can't we keep it consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the method parameter already having the DN details so no need to call channel.remoteAddress.

Copy link
Contributor

@pankaj72981 pankaj72981 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

@Apache9
Copy link
Contributor

Apache9 commented Feb 10, 2026

Please fix the spotless issue?

@srinireddy2020
Copy link
Contributor Author

Please fix the spotless issue?

Spot less fixed. please check

@Apache9
Copy link
Contributor

Apache9 commented Feb 20, 2026

@srinireddy2020 Please do a rebase as our github actions so we can finish the checks? Sorry we have changed the actions a bit so the scripts are broken...

Copy link
Member

@guluo2016 guluo2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@Apache9 Apache9 merged commit 3549333 into apache:master Feb 24, 2026
7 checks passed
Apache9 pushed a commit that referenced this pull request Feb 24, 2026
…xception message (#7719)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Peng Lu <lupeng@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
Reviewd-by: Vaibhav Joshi <vjoshi@cloudera.com>
(cherry picked from commit 3549333)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants