Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-144

file still open after shutdown the adaptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhangyongjiang Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: