falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1774) Falcon to honour PRISM_URL env var
Date Thu, 28 Jan 2016 16:29:39 GMT

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

ASF GitHub Bot commented on FALCON-1774:
----------------------------------------

GitHub user PraveenAdlakha opened a pull request:

    https://github.com/apache/falcon/pull/16

    FALCON-1774 Server side check added

    Testing :
    
    $ bin/falcon entity -type feed -submitAndSchedule -file ../cluster.xml 
    ERROR: Forbidden;submitAndSchedule on server is not supported.Please run your operation
on Prism.
    
    $ bin/falcon entity -type feed -update -name abc -file ../cluster.xml 
    ERROR: Forbidden;update on server is not supported.Please run your operation on Prism.
    
    $ bin/falcon entity -type feed -delete -name abc 
    ERROR: Forbidden;delete on server is not supported.Please run your operation on Prism.
    
    $ bin/falcon entity -type feed -submit -file ../cluster.xml 
    ERROR: Forbidden;submit on server is not supported.Please run your operation on Prism.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PraveenAdlakha/falcon FALCON-1774

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/falcon/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit 64431d22c344a9d3abc6638d02966034d6b2ccc9
Author: Praveen Adlakha <adlakha.praveen@gmail.com>
Date:   2016-01-28T14:31:04Z

    server side check added

----


> Falcon to honour PRISM_URL env var
> ----------------------------------
>
>                 Key: FALCON-1774
>                 URL: https://issues.apache.org/jira/browse/FALCON-1774
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Sanjeev T
>            Assignee: Praveen Adlakha
>         Attachments: FALCON-1774-v0.patch
>
>
> When we submit/delete/update process or feed, and we have falcon server url in client.properties,
we cannot do the operation, and the output, doesn't make sense
> {noformat}
> $ falcon entity -type process -name  bad-process -delete
> ERROR: Not Found;
> {noformat}
> In such cases we need to pass -url $PRISM_URL, where PRISM_URL points to prism host service.
> Requirement:
> * error message should say what is not found or expected PRISM_URL
> * Allow to set env var PRISM_URL
> * When we do submit/delete/update it should use the env variable
> * In case of schedule/suspend it should honour as specified in the client.properties




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message