falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-933) misleading error msg on cluster submit failure
Date Sat, 21 Mar 2015 08:39:38 GMT

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

Ajay Yadava commented on FALCON-933:


I understand the validations, however it's not always true that the directory owner should
be changed. Consider the case at my organisation, we switch to a headless user and submit
feeds and processes as that user. It's probable for someone to forget to switch to the headless
user and try submitting feed. In this case user shouldn't change the directory permissions
but switch to the headless user. Hence I suggested a more neutral message. 

It's also helpful to suggest what location (staging or working) was being checked. 

> misleading error msg on cluster submit failure 
> -----------------------------------------------
>                 Key: FALCON-933
>                 URL: https://issues.apache.org/jira/browse/FALCON-933
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.6
>            Reporter: Samarth Gupta
>            Assignee: Sowmya Ramesh
>             Fix For: 0.6.1
>         Attachments: FALCON-933.v0.patch, FALCON-933.v1.patch
> when cluster submissions fails due to wrong ownership of the "staging" dir , the error
msg says "process user"  , where as this is a cluster operation. 
> {code}
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Bad Request;ua1/Path [/falcon/staging] has
owner [hdfs], should be the process user dataqa
> 	at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
> 	at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1162)
> 	at org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:684)
> 	at org.apache.falcon.client.FalconClient.submit(FalconClient.java:323)
> 	at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:361)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:182)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:132)
> {code}

This message was sent by Atlassian JIRA

View raw message