accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-4554) Fail gracefully on an un-parseable version string
Date Wed, 04 Jan 2017 23:17:58 GMT
Josh Elser created ACCUMULO-4554:
------------------------------------

             Summary: Fail gracefully on an un-parseable version string
                 Key: ACCUMULO-4554
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4554
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: 2.0.0


Just had a delightfully odd failure case where every single IT that used a minicluster would
timeout and fail.

Turns out, if you happen to set a version on Accumulo (e.g. what I might do if I were testing
locally and wanted to be isolated) which doesn't match what Version.java *wants* your version
to be, an {{IllegalArgumentException}} is thrown which brings down all of the processes.

The fun part is that this Version is used no-where, save the {{accumulo version}} command.
We can and should fail gracefully -- there is no reason we should fail hard as we do now.



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

Mime
View raw message