You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/10/29 14:04:22 UTC

[jira] Created: (CASSANDRA-1682) Bad configuration errors don't give much information

Bad configuration errors don't give much information
----------------------------------------------------

                 Key: CASSANDRA-1682
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1682
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7 beta 2
            Reporter: Gary Dusbabek
            Assignee: Gary Dusbabek
            Priority: Trivial
             Fix For: 0.7.0


When there is an error in the DatabaseDescriptor static initializer, we typically generate an error line instead of a stack trace.  The error line is only sometimes helpful.  A stack trace would give developers a lot more information to go on when giving support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1682) Bad configuration errors don't give much information

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927557#action_12927557 ] 

Jonathan Ellis commented on CASSANDRA-1682:
-------------------------------------------

Can we put the stacktrace at debug?  I'm getting it beaten into me that most users really don't like seeing stacktraces, especially if they are not java devs.

> Bad configuration errors don't give much information
> ----------------------------------------------------
>
>                 Key: CASSANDRA-1682
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1682
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7 beta 2
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: v1-0001-log-a-stack-with-config-errors.txt
>
>
> When there is an error in the DatabaseDescriptor static initializer, we typically generate an error line instead of a stack trace.  The error line is only sometimes helpful.  A stack trace would give developers a lot more information to go on when giving support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1682) Bad configuration errors don't give much information

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek updated CASSANDRA-1682:
-------------------------------------

    Attachment: v1-0001-log-a-stack-with-config-errors.txt

> Bad configuration errors don't give much information
> ----------------------------------------------------
>
>                 Key: CASSANDRA-1682
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1682
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7 beta 2
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: v1-0001-log-a-stack-with-config-errors.txt
>
>
> When there is an error in the DatabaseDescriptor static initializer, we typically generate an error line instead of a stack trace.  The error line is only sometimes helpful.  A stack trace would give developers a lot more information to go on when giving support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1682) Bad configuration errors don't give much information

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927563#action_12927563 ] 

Gary Dusbabek commented on CASSANDRA-1682:
------------------------------------------

The point of the ticket was to give more information, not less.

Taking a second look at the messages we pass to the ConfigurationConstructor, I think they are sufficient for analysis.  I must have been frustrated when I created the ticket.

> Bad configuration errors don't give much information
> ----------------------------------------------------
>
>                 Key: CASSANDRA-1682
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1682
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7 beta 2
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: v1-0001-log-a-stack-with-config-errors.txt
>
>
> When there is an error in the DatabaseDescriptor static initializer, we typically generate an error line instead of a stack trace.  The error line is only sometimes helpful.  A stack trace would give developers a lot more information to go on when giving support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.