falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pracheer Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-2277) Incorrect error message on registering trusted exceptions
Date Wed, 08 Feb 2017 17:04:41 GMT

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

Pracheer Agarwal commented on FALCON-2277:
------------------------------------------

I think error message should be limited to that extension already exists. Because user might
be registering an extension with completely different functionality to that of trusted extension
in its name. In that case, we only need to throw an exception that extension exist with the
given name.

> Incorrect error message on registering trusted exceptions
> ---------------------------------------------------------
>
>                 Key: FALCON-2277
>                 URL: https://issues.apache.org/jira/browse/FALCON-2277
>             Project: Falcon
>          Issue Type: Bug
>          Components: extensions
>    Affects Versions: trunk, 0.10
>            Reporter: Richie Varghese
>
> While running the negative test case of trying to submit a trusted extension, it gives
the following error:
> {noformat}
> richie.varghese@falcon1001:~$ falcon extension -register -extensionName hdfs-mirroring
-path file://mnt/falcon/prism/extensions/hdfs-mirroring
> ERROR: Internal Server Error;README file is not present in the file://mnt/falcon/prism/extensions/hdfs-mirroring
> {noformat}
> But this README file is present in the location :
>  /mnt/falcon/prism/extensions/hdfs-mirroring/README
> Instead it should say that this extension is a trusted extension and hence is pre-registered.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message