[
https://issues.apache.org/jira/browse/HADOOP-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amareshwari Sriramadasu updated HADOOP-4842:
--------------------------------------------
Attachment: patch-4842.txt
Owen's idea of using PipeReducer for Combiner worked fine.
Attaching patch with -combiner option accepting any streaming command.
Patch does the following:
* Added PipeCombiner class which extends PipeReducer and overrides method
getPipeCommand(JobConf) to return combiner command.
* If -combiner option is not a java class, PipeCombiner.class is set as the
Combiner class and the command is passed in configuration through property
"stream.combine.streamprocessor"
* Modified documentation for the change
* Added a test to TestStreaming to run with a combiner.
> Streaming combiner should allow command, not just JavaClass
> -----------------------------------------------------------
>
> Key: HADOOP-4842
> URL: https://issues.apache.org/jira/browse/HADOOP-4842
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/streaming
> Reporter: Marco Nicosia
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.21.0
>
> Attachments: patch-4842.txt
>
>
> Streaming jobs are way slower than Java jobs for many reasons, but certainly
> stopping the shell-only programmer from using the combiner feature won't
> help. Right now, the streaming usage says:
> {quote}
> -mapper <cmd|JavaClassName> The streaming command to run
> -combiner <JavaClassName> Combiner has to be a Java class
> -reducer <cmd|JavaClassName> The streaming command to run
> {quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.