Hadoop Common
  1. Hadoop Common
  2. HADOOP-245

record io translator doesn't strip path names

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Hide
          Doug Cutting added a comment -

          I just committed this. Thanks!

          Show
          Doug Cutting added a comment - I just committed this. Thanks!
          Hide
          Milind Bhandarkar added a comment -

          Fixed. This patch also includes fix for a bug HADOOP-246, plus much needed Javadoc in some parts of recordIO.

          Show
          Milind Bhandarkar added a comment - Fixed. This patch also includes fix for a bug HADOOP-246 , plus much needed Javadoc in some parts of recordIO.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development