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

Fail gracefully on an un-parseable version string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.4, 1.9.0
    • None
    • 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

            elserj Josh Elser
            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