[
https://issues.apache.org/jira/browse/HADOOP-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378699#comment-14378699
]
Allen Wittenauer commented on HADOOP-11406:
-------------------------------------------
So I've been thinking about this the past few days. Moving from xargs to a for
loop means a pretty significant drop in performance. I'm sort of leaning
towards keeping using the portable as the default and putting the paralell
xargs one as an example in the hadoop-user-functions.sh. One thing that should
probably be done in order to facilitate this is to move the actual loop into
another function so that it makes it easy to replace.
Thoughts?
> 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: Kengo Seki
> 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)