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

          Owen O'Malley created issue -
          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.
          Milind Bhandarkar made changes -
          Field Original Value New Value
          Attachment hadoop-245-246.patch [ 12334470 ]
          Sameer Paranjpye made changes -
          Fix Version/s 0.3 [ 12310930 ]
          Sameer Paranjpye made changes -
          Link This issue incorporates HADOOP-246 [ HADOOP-246 ]
          Hide
          Doug Cutting added a comment -

          I just committed this. Thanks!

          Show
          Doug Cutting added a comment - I just committed this. Thanks!
          Doug Cutting made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 0.3.1 [ 12311942 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.3.0 [ 12310930 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Doug Cutting made changes -
          Workflow jira [ 12372340 ] no reopen closed [ 12373137 ]
          Doug Cutting made changes -
          Workflow no reopen closed [ 12373137 ] no-reopen-closed [ 12373473 ]
          Doug Cutting made changes -
          Workflow no-reopen-closed [ 12373473 ] no-reopen-closed, patch-avail [ 12377789 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          13d 4m 1 Doug Cutting 06/Jun/06 04:46
          Resolved Resolved Closed Closed
          2h 20m 1 Doug Cutting 06/Jun/06 07:07

            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