CharFileTailingAdaptorUTF8NewLineEscaped doesn't detect log rotation properly
-----------------------------------------------------------------------------

                 Key: CHUKWA-425
                 URL: https://issues.apache.org/jira/browse/CHUKWA-425
             Project: Hadoop Chukwa
          Issue Type: Bug
          Components: data collection
    Affects Versions: 0.3.0
         Environment: Redhat EL 5.1, Java 6
            Reporter: Eric Yang
            Priority: Blocker


Listing adaptor list shows:

org.apache.hadoop.chukwa.datacollection.adaptor.filetailer.CharFileTailingAdaptorUTF8NewLineEscaped
 Sar 0 /chukwa-0.4.0/var/log/Sar.log 5086164

ls -l

-rw-r--r-- 1 hdfs users 1607142 Dec  8 07:34 /chukwa-0.4.0/var/log/Sar.log
-rw-r--r-- 1 hdfs users 5086082 Dec  5 23:59 
/chukwa-0.4.0/var/log/Sar.log.2009-12-05
-rw-r--r-- 1 hdfs users 5086164 Dec  6 23:59 
/chukwa-0.4.0/var/log/Sar.log.2009-12-06
-rw-r--r-- 1 hdfs users 5086154 Dec  7 23:59 
/chukwa-0.4.0/var/log/Sar.log.2009-12-07

Looks like the log rotation detection isn't working properly.

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