Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-385

rcc does not generate correct Java code for the field of a record type

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • None
    • None

    Description

      If a field of a Jute record is also a Jute record and the target language is Java, rcc does not generate correct field name, correct code for deserializing the field. The access modifier "private" of the validation method causes problem for validating nested records.

      In addition, rcc can not handle the case when a comment started with "//" also contains the string "//".

      Attachments

        1. hadoop-record.patch
          11 kB
          Milind Barve

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            milindb Milind Barve
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment