You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/02/05 23:17:00 UTC

[jira] [Updated] (HDFS-14231) DataXceiver#run() should not log exceptions caused by InvalidToken exception as an error

     [ https://issues.apache.org/jira/browse/HDFS-14231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang updated HDFS-14231:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.3
                   3.2.1
                   3.3.0
                   3.0.4
           Status: Resolved  (was: Patch Available)

Pushed to trunk, branch-3.2, branch-3.1 and branch-3.0. Thanks for contribution!

> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org