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

Tests to ensure that Main's classnames exist

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • start, test

    Description

      The Main class, in accumulo-start, references a number of classes to handle the command line arguments to the accumulo shell script.

      However, since start can't depend on the other modules, it must use String representations of these classes.

      This is very brittle and, if those classes move, we have no knowledge of this breakage until runtime.

      We should have something later in the build that will enumerate the arguments to Main to ensure that we don't get a NoClassDefFound error at runtime due to a moved class.

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 10m
                  10m