hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7038) saveVersion script includes an additional \r while running whoami under windows
Date Fri, 10 Dec 2010 21:04:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970310#action_12970310
] 

Hudson commented on HADOOP-7038:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #456 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/456/])
    HADOOP-7038. saveVersion script includes an additional \r while running whoami under windows.
Contributed by Wang Xu.


> saveVersion script includes an additional \r while running whoami under windows
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7038
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: Windows 7 / Eclipse 
>            Reporter: Wang Xu
>            Assignee: Wang Xu
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-7038.diff
>
>
> I built common under windows occasionally, and found it failed because the 'user' in
build/src/o/a/h/package-info.java is "myhostmyname^M".
> It seems because the whoami of windows give a string with '\n\r' rather than '\n' only.
thus I add an additional tr for it to eliminate the problem.
> Since only windows would generate '\n\r' output, I think it won't harm to any other platform.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message