hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-941) vaidya script calls awk instead of nawk
Date Mon, 31 Aug 2009 19:47:32 GMT

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

Allen Wittenauer commented on MAPREDUCE-941:
--------------------------------------------

Two ways to fix this for Solaris:

a) change the script to use nawk

b) make sure /usr/xpg4/bin or /usr/xpg6/bin (POSIX subsystems) appears in the path prior to
/usr/bin 

> 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
>            Priority: Trivial
>
> 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