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

Gera Shegalov commented on MAPREDUCE-5886:
------------------------------------------

LGTM.  Possibly we can add a method to FIF:
{code}
/**
 *  add numArgs paths starting at offset to the input 
 */
public static addInputPaths(Job job, String[] args, int offset, int numArgs);
{code}

Then it can be used in other jobs and reused in FIF for
{code}
  public static void addInputPaths(Job job, 
                                   String commaSeparatedPaths
                                   ) throws IOException {
{code}

> Allow wordcount example job to accept multiple input paths.
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-5886
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5886
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: examples
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: MAPREDUCE-5886.1.patch
>
>
> It would be convenient if the wordcount example MapReduce job could accept 
> multiple input paths and run the word count on all of them.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to