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

Sowmya Ramesh updated FALCON-702:
---------------------------------
    Description: 
If relative path is used for file e.g. falcon/recipes/, it should be created by 
default in home directory. JailFS creates it at basePath 
"/Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global".
 FileUtil.copy fails as it expects the relative path files to be created in 
home directory.

{noformat}
2014-09-08 22:18:05,247 ERROR - 
[2080249435@qtp-1646465282-22:sramesh:POST//entities/validate/PROCESS 
b303c6ed-c742-4338-8fe9-81edc5295dd5] ~ Error: java.io.FileNotFoundException: 
File 
/Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global/user/sramesh/falcon/recipes/fs-workflow.xml
 does not exist (AbstractEntityManager:187)

{noformat}

  was:
If relative path is used e.g. falcon/recipes/ it should be created by default 
in home directory. Instead it gets created at basePath 
"/Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global".
 FileUtil.copy fails as it expects the relative path files to be created in 
home directory.

{noformat}
2014-09-08 22:18:05,247 ERROR - 
[2080249435@qtp-1646465282-22:sramesh:POST//entities/validate/PROCESS 
b303c6ed-c742-4338-8fe9-81edc5295dd5] ~ Error: java.io.FileNotFoundException: 
File 
/Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global/user/sramesh/falcon/recipes/fs-workflow.xml
 does not exist (AbstractEntityManager:187)
{noformat}


> JailedFileSystem: IT tests fail with java.io.FileNotFoundException for 
> relative path files
> ------------------------------------------------------------------------------------------
>
>                 Key: FALCON-702
>                 URL: https://issues.apache.org/jira/browse/FALCON-702
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Sowmya Ramesh
>            Assignee: Sowmya Ramesh
>              Labels: FileSystem
>         Attachments: FALCON-702.patch
>
>
> If relative path is used for file e.g. falcon/recipes/, it should be created 
> by default in home directory. JailFS creates it at basePath 
> "/Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global".
>  FileUtil.copy fails as it expects the relative path files to be created in 
> home directory.
> {noformat}
> 2014-09-08 22:18:05,247 ERROR - 
> [2080249435@qtp-1646465282-22:sramesh:POST//entities/validate/PROCESS 
> b303c6ed-c742-4338-8fe9-81edc5295dd5] ~ Error: java.io.FileNotFoundException: 
> File 
> /Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh/jail-fs/global/user/sramesh/falcon/recipes/fs-workflow.xml
>  does not exist (AbstractEntityManager:187)
> {noformat}



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

Reply via email to