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

record io translator doesn't strip path names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.1
    • 0.3.1
    • record
    • None

    Description

      When I run the record translator with a pathname, the path name is not stripped. So for example:

      % bin/rcc --language c++ foo/bar/bat.jr

      generates:

      foo/bar/bat.jr.hh (instead of ./bat.jr.hh)
      and the first line is #ifndef _FOO/BAR/BAT_JR_HH_

      the first was unexpected and the second is clearly wrong.

      Attachments

        1. hadoop-245-246.patch
          23 kB
          Milind Barve

        Issue Links

          Activity

            People

              milindb Milind Barve
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: