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

Ajay Yadava commented on FALCON-933:
------------------------------------

I think the message can be improved even further by saying something like:
Current user: {} is not the owner of staging location:{} owner:{} for 
cluster:{}.

In it's current form it seems to suggest to change the owner of the directory 
rather than change of the user.

> 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
(v6.3.4#6332)

Reply via email to