hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11406) xargs -P is not portable
Date Thu, 19 Mar 2015 16:43:39 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kengo Seki updated HADOOP-11406:
--------------------------------
    Attachment: HADOOP-11406.001.patch

[~aw] [~brahmareddy] According to POSIX standard, it seems difficult to know whether the error
cause is lack of -P support or not, from status code or error message. So how about using
for-loop instead of xargs? I attach a patch for review.

> xargs -P is not portable
> ------------------------
>
>                 Key: HADOOP-11406
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11406
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0
>         Environment: Solaris
> Illumos
> AIX
> ... likely others
>            Reporter: Allen Wittenauer
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>         Attachments: HADOOP-11406.001.patch
>
>
> hadoop-functions.sh uses xargs -P in the ssh handler.  -P is a GNU extension and is not
available on all operating systems.  We should add some detection for support and perform
an appropriate action.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message