[
https://issues.apache.org/jira/browse/HADOOP-5979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717989#action_12717989
]
Klaas Bosteels commented on HADOOP-5979:
----------------------------------------
Ok, so we should let the partitioner command determine the partition number
directly then.
Further comments:
* Can we be sure that the number of partitions if always equal to the number of
reducers under all circumstances?
* The format of the data that gets written to and read from the partitioner
command should, of course, depend on the used {{InputWriter}} and
{{OutputReader}} classes, but Milind's suggestion sounds good for the
text-based case.
> Streaming partitioner should allow command, not just Java class
> ---------------------------------------------------------------
>
> Key: HADOOP-5979
> URL: https://issues.apache.org/jira/browse/HADOOP-5979
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/streaming
> Reporter: Klaas Bosteels
>
> Since HADOOP-4842 got committed, Streaming allows both commands and Java
> classes to be specified as mapper, reducer, and combiner, but the
> {{-partitioner}} option is still limited to Java classes only. Allowing
> commands to be specified as partitioner as well would greatly improve the
> flexibility of Streaming programs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.