Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8799

Improve error message when tuple can't be read by SolrJ JDBC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: SolrJ
    • Labels:
      None
    • Flags:
      Patch

      Description

      Currently the error message prints "Can't read first tuple" with the full stack trace having the full error. This isn't useful for JDBC clients since they don't show the full stack trace.

      1. SOLR-8799.patch
        0.9 kB
        Kevin Risden

        Issue Links

          Activity

          Hide
          risdenk Kevin Risden added a comment -

          Simple patch to just wrap the exception in a SQLException and not add new error message. This propagates the error message properly.

          Show
          risdenk Kevin Risden added a comment - Simple patch to just wrap the exception in a SQLException and not add new error message. This propagates the error message properly.
          Hide
          risdenk Kevin Risden added a comment -

          Joel Bernstein - Patch to improve error message when can't read tuple. Would be great to get this into Solr 6.

          Show
          risdenk Kevin Risden added a comment - Joel Bernstein - Patch to improve error message when can't read tuple. Would be great to get this into Solr 6.
          Hide
          joel.bernstein Joel Bernstein added a comment -

          Ok, thanks. I'll commit today and see if we can backport.

          Show
          joel.bernstein Joel Bernstein added a comment - Ok, thanks. I'll commit today and see if we can backport.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 56ad6e5d8a3d92f7ea496c598c2097aa572263cc in lucene-solr's branch refs/heads/master from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56ad6e5 ]

          SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC

          Show
          jira-bot ASF subversion and git services added a comment - Commit 56ad6e5d8a3d92f7ea496c598c2097aa572263cc in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56ad6e5 ] SOLR-8799 : Improve error message when tuple can't be read by SolrJ JDBC
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 02523d5b6d7a4416265c4a36289b3dcb497ed6a6 in lucene-solr's branch refs/heads/master from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=02523d5 ]

          SOLR-8799: Update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit 02523d5b6d7a4416265c4a36289b3dcb497ed6a6 in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=02523d5 ] SOLR-8799 : Update CHANGES.txt
          Hide
          joel.bernstein Joel Bernstein added a comment -

          Ok, just need to backport now.

          Show
          joel.bernstein Joel Bernstein added a comment - Ok, just need to backport now.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 15bf038f29cd877706b348a3c1c185475c935552 in lucene-solr's branch refs/heads/branch_6x from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=15bf038 ]

          SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC

          Show
          jira-bot ASF subversion and git services added a comment - Commit 15bf038f29cd877706b348a3c1c185475c935552 in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=15bf038 ] SOLR-8799 : Improve error message when tuple can't be read by SolrJ JDBC
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit d0427d8617565cb4782faf1c93cf0ac0a6207680 in lucene-solr's branch refs/heads/branch_6x from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d0427d8 ]

          SOLR-8799: Update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit d0427d8617565cb4782faf1c93cf0ac0a6207680 in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d0427d8 ] SOLR-8799 : Update CHANGES.txt
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit a13b2b0c24f256f6ba72588fef7332f6fc8fac70 in lucene-solr's branch refs/heads/branch_6_0 from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a13b2b0 ]

          SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC

          Show
          jira-bot ASF subversion and git services added a comment - Commit a13b2b0c24f256f6ba72588fef7332f6fc8fac70 in lucene-solr's branch refs/heads/branch_6_0 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a13b2b0 ] SOLR-8799 : Improve error message when tuple can't be read by SolrJ JDBC
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit ab7b410e9561c319a9499df22fb14c785588601e in lucene-solr's branch refs/heads/branch_6_0 from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ab7b410 ]

          SOLR-8799: Update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit ab7b410e9561c319a9499df22fb14c785588601e in lucene-solr's branch refs/heads/branch_6_0 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ab7b410 ] SOLR-8799 : Update CHANGES.txt
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 56ad6e5d8a3d92f7ea496c598c2097aa572263cc in lucene-solr's branch refs/heads/apiv2 from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56ad6e5 ]

          SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC

          Show
          jira-bot ASF subversion and git services added a comment - Commit 56ad6e5d8a3d92f7ea496c598c2097aa572263cc in lucene-solr's branch refs/heads/apiv2 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56ad6e5 ] SOLR-8799 : Improve error message when tuple can't be read by SolrJ JDBC
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 02523d5b6d7a4416265c4a36289b3dcb497ed6a6 in lucene-solr's branch refs/heads/apiv2 from jbernste
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=02523d5 ]

          SOLR-8799: Update CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit 02523d5b6d7a4416265c4a36289b3dcb497ed6a6 in lucene-solr's branch refs/heads/apiv2 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=02523d5 ] SOLR-8799 : Update CHANGES.txt

            People

            • Assignee:
              Unassigned
              Reporter:
              risdenk Kevin Risden
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development