[
https://issues.apache.org/jira/browse/FALCON-702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128065#comment-14128065
]
Venkatesh Seetharam commented on FALCON-702:
--------------------------------------------
Wow, this was an issue with JFS? Darn!
> 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}
> Caused by: java.io.FileNotFoundException: File
> /Users/sramesh/Workspace/Apache-DR/webapp/target/tmp-hadoop-sramesh
> /jail-fs/global/user/sramesh/falcon/recipes/process/fs-workflow.xml does not
> exist
> at
> org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:511)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:724)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:501)
> at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:397)
> at
> org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:137)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:339)
> at
> org.apache.falcon.hadoop.JailedFileSystem.open(JailedFileSystem.java:80)
> at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:764)
> at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:364)
> at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
> at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289)
> at
> org.apache.falcon.update.UpdateHelper.checksumAndCopy(UpdateHelper.java:165)
> ... 51 more
> 2014-09-09 22:08:54,661 ERROR -
> [63380826@qtp-60450373-10:sramesh:POST//entities/validate/PROCESS
> 2e631af8-6c6e-4b59-8131-14b3d69abbef] ~ Action failed: Bad Request
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)