[HOD] logcondense fails if DFS has files that are not log files, but match a 
certain pattern
--------------------------------------------------------------------------------------------

                 Key: HADOOP-3304
                 URL: https://issues.apache.org/jira/browse/HADOOP-3304
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hod
    Affects Versions: 0.16.2
            Reporter: Hemanth Yamijala
            Assignee: Hemanth Yamijala
            Priority: Critical


logcondense works by listing files in dfs and match them against a certain 
pattern. This pattern is incorrect in the sense that it can potentially match 
files that are not log files. And this can cause it to fail and not delete 
files correctly as it should.

It should use a correct regular expression that will only list log files. Also, 
possibly it should log a stack trace if it happens, but continue to delete 
files and not stop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to