You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "abhishek bafna (JIRA)" <ji...@apache.org> on 2016/04/07 18:53:25 UTC

[jira] [Assigned] (OOZIE-2493) Remove action.xml file from local file system instead of hadoop file system

     [ https://issues.apache.org/jira/browse/OOZIE-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

abhishek bafna reassigned OOZIE-2493:
-------------------------------------

    Assignee: abhishek bafna

> Remove action.xml file from local file system instead of hadoop file system
> ---------------------------------------------------------------------------
>
>                 Key: OOZIE-2493
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2493
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>            Reporter: abhishek bafna
>            Assignee: abhishek bafna
>              Labels: patch
>         Attachments: OOZIE-2493-02.patch, OOZIE-2493.patch
>
>
> In the TestDistcpMain#testMain test case, it is deleting a file using HDFS FileSystem instance which actually created on a local FileSystem.
> {code}
> // getting file hadoop system instance 
> FileSystem fs = getFileSystem();
> ...
> // creating a storing file on local file system
> File actionXml = new File(getTestCaseDir(), "action.xml");
> ...
> // Now trying to delete the file on hadoop file system
> fs.delete(new Path(getTestCaseDir(), "action.xml"), true);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)