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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      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 Bhandarkar

          Activity

            People

            • Assignee:
              milindb Milind Bhandarkar
              Reporter:
              hairong Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: