Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-58

Javadoc for org.apache.hadoop.mrunit Package Ends Prematurely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • None
    • Observed on Safari version 5.1.2 (7534.52.7) on Mac OS X Lion, but likely affects all systems. I believe it's a problem with input to Javadoc, rather than a client-side failure to render the output properly.

    Description

      While reading the Javadoc for the 0.8.0 release, I found that the code example at the following URL ends abruptly following the declaration of the 'driver' variable:

      http://incubator.apache.org/mrunit/apidocs/org/apache/hadoop/mrunit/package-summary.html

      It appears to me that the Javadoc processor is choking on the @Before annotation, at line 68 here:

      http://svn.apache.org/viewvc/incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html?revision=1102112&view=markup

      If so, I think the solution is to use Javadoc's

      {@literal}

      support, thus changing line 68 from @Before to

      {@literal @Before}

      . A similar fix would be needed for line 74's @Test annotation.

      Attachments

        Activity

          People

            brocknoland Brock Noland
            twheeler Tom Wheeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: