Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4554

Fail gracefully on an un-parseable version string

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.4, 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 40m
                3h 40m