You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Luca Cinquini (JIRA)" <ji...@apache.org> on 2012/04/27 21:18:49 UTC

[jira] [Created] (OODT-450) Deletion of directory upon product ingestion

Luca Cinquini created OODT-450:
----------------------------------

             Summary: Deletion of directory upon product ingestion
                 Key: OODT-450
                 URL: https://issues.apache.org/jira/browse/OODT-450
             Project: OODT
          Issue Type: Improvement
          Components: crawler
    Affects Versions: 0.3
            Reporter: Luca Cinquini
             Fix For: 0.4


Upon successful, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
FileUtils.deleteDirectory(fileToDelete)
to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OODT-450) Deletion of directory upon product ingestion

Posted by "Luca Cinquini (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Cinquini updated OODT-450:
-------------------------------

    Description: 
Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
FileUtils.deleteDirectory(fileToDelete)
to recursively delete the directory and all its content.

  was:
Upon successful, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
FileUtils.deleteDirectory(fileToDelete)
to recursively delete the directory and all its content.

    
> Deletion of directory upon product ingestion
> --------------------------------------------
>
>                 Key: OODT-450
>                 URL: https://issues.apache.org/jira/browse/OODT-450
>             Project: OODT
>          Issue Type: Improvement
>          Components: crawler
>    Affects Versions: 0.3
>            Reporter: Luca Cinquini
>             Fix For: 0.4
>
>
> Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
> FileUtils.deleteDirectory(fileToDelete)
> to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OODT-450) Deletion of directory upon product ingestion

Posted by "Luca Cinquini (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Cinquini resolved OODT-450.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.5)
                   0.4

Fixed, should maintain backward compatibility with the case the product is NOT a directory.
                
> Deletion of directory upon product ingestion
> --------------------------------------------
>
>                 Key: OODT-450
>                 URL: https://issues.apache.org/jira/browse/OODT-450
>             Project: OODT
>          Issue Type: Improvement
>          Components: crawler
>    Affects Versions: 0.3
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.4
>
>
> Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
> FileUtils.deleteDirectory(fileToDelete)
> to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OODT-450) Deletion of directory upon product ingestion

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated OODT-450:
-----------------------------------

    Fix Version/s:     (was: 0.4)
                   0.5

- push to 0.5. If a fix can be made for 0.4, then please go for it :)
                
> Deletion of directory upon product ingestion
> --------------------------------------------
>
>                 Key: OODT-450
>                 URL: https://issues.apache.org/jira/browse/OODT-450
>             Project: OODT
>          Issue Type: Improvement
>          Components: crawler
>    Affects Versions: 0.3
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.5
>
>
> Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
> FileUtils.deleteDirectory(fileToDelete)
> to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (OODT-450) Deletion of directory upon product ingestion

Posted by "Luca Cinquini (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Cinquini reassigned OODT-450:
----------------------------------

    Assignee: Luca Cinquini
    
> Deletion of directory upon product ingestion
> --------------------------------------------
>
>                 Key: OODT-450
>                 URL: https://issues.apache.org/jira/browse/OODT-450
>             Project: OODT
>          Issue Type: Improvement
>          Components: crawler
>    Affects Versions: 0.3
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.4
>
>
> Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
> FileUtils.deleteDirectory(fileToDelete)
> to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira