Wei-Chiu Chuang created HADOOP-15599:

             Summary: 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

Found the following warning message:
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:
try {
  time = getTimeFromCheckpoint(name);
} catch (ParseException e) {
  LOG.warn("Unexpected item in trash: "+dir+". Ignoring.");
File this Jira to get the file name recorded. 

This message was sent by Atlassian JIRA

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

Reply via email to