hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Metcalf (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-941) vaidya script calls awk instead of nawk
Date Thu, 17 Sep 2009 20:32:57 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756761#action_12756761
] 

Chad Metcalf commented on MAPREDUCE-941:
----------------------------------------

No tests for the shell script. Did manual test.

> vaidya script calls awk instead of nawk
> ---------------------------------------
>
>                 Key: MAPREDUCE-941
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-941
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>         Environment: Solaris
>            Reporter: Allen Wittenauer
>            Assignee: Chad Metcalf
>            Priority: Trivial
>         Attachments: MapReduce941.patch
>
>
> The vaidya script uses this construction:
> awk 'BEGIN { RS = "" ; FS = "\n" } ; { print $1 }'
> Under "old awk", this fails.  Under "new awk", this works.  Depending upon the OS, awk
may point to either old or new awk.  In the Solaris case, awk defaults to oawk.

-- 
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