You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/12/15 12:04:00 UTC

[jira] [Commented] (DRILL-7552) Add Helpful Error Message on Storage Plugin Creation/Update

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

ASF GitHub Bot commented on DRILL-7552:
---------------------------------------

luocooong opened a new pull request #2127:
URL: https://github.com/apache/drill/pull/2127


   # [DRILL-7552](https://issues.apache.org/jira/browse/DRILL-7552): Add Helpful Error Message on Storage Plugin Creation/Update
   
   ## Description
   
    We can catch the UserException first and inform users as clearly as possible.
   
   ## Documentation
    
   There are no changes visible to the user.
   
   ## Testing
    TestPluginRegistry#testBadPlugin()
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add Helpful Error Message on Storage Plugin Creation/Update
> -----------------------------------------------------------
>
>                 Key: DRILL-7552
>                 URL: https://issues.apache.org/jira/browse/DRILL-7552
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Storage - Other
>    Affects Versions: 1.17.0
>            Reporter: Charles Givre
>            Assignee: luocong
>            Priority: Major
>              Labels: error_message_improvement
>             Fix For: 1.19.0
>
>         Attachments: image-2020-01-26-16-47-46-398.png
>
>
> If you are attempting to create or update a storage plugin and for whatever reason an error occurs, the only error message that is displayed in the GUI is 
> {code:java}
> Please retry: Error (unable to parse JSON)
> {code}
> This is unhelpful to the user as the user may have entered in valid JSON, but specified an invalid option. The error gives no indication as to what actually went wrong and how to fix.
> See example below:
> !image-2020-01-26-16-47-46-398.png!
> In this example, the cause of the error is the final option isMysql: false, which does not exist as a configuration option for the JDBC plugin.   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)