You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadav (JIRA)" <ji...@apache.org> on 2014/08/30 12:29:53 UTC

[jira] [Assigned] (FALCON-81) globStatus in feed retention fails in some cases

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

Ajay Yadav reassigned FALCON-81:
--------------------------------

    Assignee: Ajay Yadav

> globStatus in feed retention fails in some cases
> ------------------------------------------------
>
>                 Key: FALCON-81
>                 URL: https://issues.apache.org/jira/browse/FALCON-81
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Ajay Yadav
>
> {noformat}
> If the data path is  /data/${YEAR}/${MONTH}/${DAY}/${HOUR}/SomeData, feed eviction checks for pattern /data/*/*/*/*/SomeData which should be directory. 
> Glob status on this fails if there is a file /data/2013/01/01/01/file:
> Failing Oozie Launcher, Main class [org.apache.ivory.retention.FeedEvictor], main() threw exception, org.apache.hadoop.security.AccessControlException: Permission denied: user=<user>, access=EXECUTE, inode="/data/2013/01/01/01/file":<user>:supergroup:-rw-r--r--
> org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=dataload, access=EXECUTE, inode="/data/2013/01/01/01/file":<user>:supergroup:-rw-r--r--
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:95)
> 	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:57)
> 	at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:914)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:523)
> 	at org.apache.hadoop.fs.FileSystem.getFileStatus(FileSystem.java:1534)
> 	at org.apache.hadoop.fs.FileSystem.globStatusInternal(FileSystem.java:1096)
> 	at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1038)
> 	at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1016)
> 	at org.apache.ivory.retention.FeedEvictor.findFilesForFeed(FeedEvictor.java:204)
> 	at org.apache.ivory.retention.FeedEvictor.discoverInstanceToDelete(FeedEvictor.java:166)
> 	at org.apache.ivory.retention.FeedEvictor.run(FeedEvictor.java:112)
> This is because of an issue in glob status. Feed evictor should search with pattern /data/*/*/*/*/*/{SomeData}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)