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

record io translator doesn't strip path names

    Details

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

          Issue Links

            Activity

              People

              • Assignee:
                milindb Milind Bhandarkar
                Reporter:
                owen.omalley Owen O'Malley
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: