cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11269) Improve UDF compilation error messages
Date Mon, 28 Mar 2016 09:50:25 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Stupp updated CASSANDRA-11269:
-------------------------------------
    Fix Version/s:     (was: 3.0.x)
                   3.x
           Status: Patch Available  (was: Open)

Patch for trunk available. The change is to log an error with the full cause on "unexpected"
exceptions.

[branch|https://github.com/apache/cassandra/compare/trunk...snazy:11269-trunk?expand=1]
[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11269-trunk-testall/]
[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11269-trunk-dtest/]


> Improve UDF compilation error messages
> --------------------------------------
>
>                 Key: CASSANDRA-11269
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11269
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 3.x
>
>
> When UDF exception fails, the error message will just mention the top-level exception
and none of the causes. This is fine for usual compilation errors but makes it essentially
very difficult to identify the root cause.
> So, this ticket's about to improve the error messages at the end of the constructor of
{{JavaBasedUDFunction}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message