You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/05/23 22:42:29 UTC

[jira] Created: (HADOOP-245) record io translator doesn't strip path names

record io translator doesn't strip path names
---------------------------------------------

         Key: HADOOP-245
         URL: http://issues.apache.org/jira/browse/HADOOP-245
     Project: Hadoop
        Type: Bug

  Components: record  
    Versions: 0.2.1    
    Reporter: Owen O'Malley
 Assigned to: Milind Bhandarkar 


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HADOOP-245) record io translator doesn't strip path names

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-245?page=all ]

Milind Bhandarkar updated HADOOP-245:
-------------------------------------

    Attachment: hadoop-245-246.patch

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

> record io translator doesn't strip path names
> ---------------------------------------------
>
>          Key: HADOOP-245
>          URL: http://issues.apache.org/jira/browse/HADOOP-245
>      Project: Hadoop
>         Type: Bug

>   Components: record
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Milind Bhandarkar
>  Attachments: hadoop-245-246.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HADOOP-245) record io translator doesn't strip path names

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-245?page=all ]
     
Doug Cutting closed HADOOP-245:
-------------------------------


> record io translator doesn't strip path names
> ---------------------------------------------
>
>          Key: HADOOP-245
>          URL: http://issues.apache.org/jira/browse/HADOOP-245
>      Project: Hadoop
>         Type: Bug

>   Components: record
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Milind Bhandarkar
>      Fix For: 0.3.1
>  Attachments: hadoop-245-246.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HADOOP-245) record io translator doesn't strip path names

Posted by "Sameer Paranjpye (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-245?page=all ]

Sameer Paranjpye updated HADOOP-245:
------------------------------------

    Fix Version: 0.3

> record io translator doesn't strip path names
> ---------------------------------------------
>
>          Key: HADOOP-245
>          URL: http://issues.apache.org/jira/browse/HADOOP-245
>      Project: Hadoop
>         Type: Bug

>   Components: record
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Milind Bhandarkar
>      Fix For: 0.3
>  Attachments: hadoop-245-246.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HADOOP-245) record io translator doesn't strip path names

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-245?page=all ]
     
Doug Cutting resolved HADOOP-245:
---------------------------------

    Fix Version: 0.3.1
                     (was: 0.3.0)
     Resolution: Fixed

I just committed this.  Thanks!

> record io translator doesn't strip path names
> ---------------------------------------------
>
>          Key: HADOOP-245
>          URL: http://issues.apache.org/jira/browse/HADOOP-245
>      Project: Hadoop
>         Type: Bug

>   Components: record
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Milind Bhandarkar
>      Fix For: 0.3.1
>  Attachments: hadoop-245-246.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira