You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pracheer Agarwal (JIRA)" <ji...@apache.org> on 2017/02/08 17:04:41 UTC

[jira] [Commented] (FALCON-2277) Incorrect error message on registering trusted exceptions

    [ 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)