falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-749) Improve error printed in falcon CLI
Date Mon, 22 Sep 2014 05:30:34 GMT

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

Shwetha G S commented on FALCON-749:
------------------------------------

valueOf is used in a lot of places in REST resources AbstractInstanceManager, AbstractEntityManager,
AbstractSchedulableEntityManager. Can you fix it here as well? Thanks

> Improve error printed in falcon CLI
> -----------------------------------
>
>                 Key: FALCON-749
>                 URL: https://issues.apache.org/jira/browse/FALCON-749
>             Project: Falcon
>          Issue Type: Improvement
>          Components: client
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: FALCON-749.patch
>
>
> When a wrong entity type is provided, falcon CLI prints the following error:
> {noformat}
> falcon entity -type jlsjflsfs -submit -file virginiaCluster.xml
> Error: No enum constant org.apache.falcon.entity.v0.EntityType.JLSJFLSFS
> {noformat}
> This can be improved to provide an error that is easier to understand.



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

Mime
View raw message