hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antal Mihalyi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-15599) Improve TrashPolicyDefault error message
Date Wed, 08 Aug 2018 15:28:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573366#comment-16573366
] 

Antal Mihalyi edited comment on HADOOP-15599 at 8/8/18 3:27 PM:
----------------------------------------------------------------

We are using this error msg, if we fail to parse the date from the checkpoint directory name.
I have improved the misleading error msg.


was (Author: amihalyi):
We are using this error msg, if we fail to parse the date from the Checkpoint directory name.
I have improved the misleading error msg.

> Improve TrashPolicyDefault error message
> ----------------------------------------
>
>                 Key: HADOOP-15599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15599
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Antal Mihalyi
>            Priority: Minor
>         Attachments: HADOOP-15599.001.patch
>
>
> Found the following warning message:
> {noformat}
> 2018-07-09 06:00:00,486 WARN org.apache.hadoop.fs.TrashPolicyDefault: Unexpected item
in trash: /user/hue/.Trash/hue. Ignoring.{noformat}
> However, it's not clear what file in the trash directory that was unexpected. 
> Relevant code:
> {code:java|title=TrashPolicyDefault#deleteCheckpoint}
> try {
>   time = getTimeFromCheckpoint(name);
> } catch (ParseException e) {
>   LOG.warn("Unexpected item in trash: "+dir+". Ignoring.");
>   continue;
> }
> {code}
> File this Jira to get the file name recorded. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message