file still open after shutdown the adaptor
------------------------------------------

                 Key: CHUKWA-144
                 URL: https://issues.apache.org/jira/browse/CHUKWA-144
             Project: Hadoop Chukwa
          Issue Type: Bug
            Reporter: Cheng


Steps to reproduce:

* telnet into agent, add 500 files
    add 
org.apache.hadoop.chukwa.datacollection.adaptor.filetailer.CharFileTailingAdaptorUTF8
 DT 0 __files_to_be_added__ 0
* list all adaptors
* shutdown the adaptors
    shutdown __adaptor_id__
* list all adaptors, make sure those 500 files are removed
* use lsof to check file descriptors. You will see that some of files are still 
open.

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