[
https://issues.apache.org/jira/browse/HDFS-14231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767338#comment-16767338
]
Kitti Nanasi commented on HDFS-14231:
-------------------------------------
Thanks [~jojochuang] for reviewing and committing!
> DataXceiver#run() should not log exceptions caused by InvalidToken exception
> as an error
> ----------------------------------------------------------------------------------------
>
> Key: HDFS-14231
> URL: https://issues.apache.org/jira/browse/HDFS-14231
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.1.1
> Reporter: Kitti Nanasi
> Assignee: Kitti Nanasi
> Priority: Major
> Fix For: 3.0.4, 3.3.0, 3.2.1, 3.1.3
>
> Attachments: HDFS-14231.001.patch
>
>
> HDFS-10760 changed the log level from error to trace in DataXceiver#run() if
> the exception was an InvalidToken exception. I think it would be beneficial
> to log on trace level if the exception's cause was InvalidException. Like in
> the following case:
> {code:java}
> DataXceiver error processing unknown operation
> src: xxx dst: xxx
> javax.security.sasl.SaslException: DIGEST-MD5: IO error acquiring password
> [Caused by org.apache.hadoop.security.token.SecretManager$InvalidToken: Block
> token with block_token_identifier
> (expiryDate=1547593336220, keyId=-1735471718, userId=hbase,
> blockPoolId=BP-xxx, blockId=1245599303, access modes=[READ]) is expired.]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]