falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suhas Vasu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-912) Lineage recorder fails at createFileSystem()
Date Mon, 24 Nov 2014 07:03:12 GMT

    [ https://issues.apache.org/jira/browse/FALCON-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222733#comment-14222733

Suhas Vasu commented on FALCON-912:

Thoughts ?

> Lineage recorder fails at createFileSystem()
> --------------------------------------------
>                 Key: FALCON-912
>                 URL: https://issues.apache.org/jira/browse/FALCON-912
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Suhas Vasu
> We recently had an instance where falcon post-processing was failing at LineageRecorder.
> The exact scenario was - the log retention was set to a very low period and as a result
the logs directory in the staging directory for the process got deleted on hdfs as it was
empty. So when the next instance ran, in the succeeded-postprocessing LineageRecorder tries
creating directories on the hdfs in the staging directory for the particular process and it
fails with incorrect permissions.
> {noformat}
> try {
>             return createFileSystem(UserGroupInformation.getLoginUser(), uri, conf);
>         } catch (IOException e) {
>             throw new FalconException("Exception while getting FileSystem for: " + uri,
>         }
> {noformat}
> The post processing runs as login user which is mapred but the owner of the staging directory
is the owner specified in the feed/process.
> So it should be {{UserGroupInformation.getCurrentUser()}} rather than {{UserGroupInformation.getLoginUser()}}

This message was sent by Atlassian JIRA

View raw message