Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7551 Improve Error Reporting
  3. DRILL-7552

Add Helpful Error Message on Storage Plugin Creation/Update

    XMLWordPrintableJSON

    Details

    • Flags:
      Important

      Description

      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 

      Please retry: Error (unable to parse JSON)
      

      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:

      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.   

        Attachments

        1. image-2020-01-26-16-47-46-398.png
          49 kB
          Charles Givre

          Activity

            People

            • Assignee:
              luoc Cong Luo
              Reporter:
              cgivre Charles Givre
              Reviewer:
              Charles Givre
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: