Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
In the RpcServer#logResponse method the logic
stringifiedParam = stringifiedParam.subSequence(
0, LOG.isTraceEnabled() ? 1000 : 150) + " <TRUNCATED>";
If the trace is on and the length of stringifiedParam is 150< stringifiedParam.length() < 1000 will get the following exception.
java.lang.StringIndexOutOfBoundsException: String index out of range: 1000
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-20942 Improve RpcServer TRACE logging
- Resolved
-
HBASE-21125 Backport 'HBASE-20942 Improve RpcServer TRACE logging' to branch-2.1
- Resolved
- relates to
-
HBASE-20826 Truncate responseInfo attributes on RpcServer WARN messages
- Resolved
-
HBASE-20942 Improve RpcServer TRACE logging
- Resolved
-
HBASE-21125 Backport 'HBASE-20942 Improve RpcServer TRACE logging' to branch-2.1
- Resolved