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

Joe Mudd updated MAPREDUCE-5917:
--------------------------------

    Attachment: MAPREDUCE-5917.patch

Trunk patch that passes dev-support/test-patch and is ready for code review.

The patch adds two methods to the JobConf() class:

getCount() and getKey(size_t index).

This avoids having to expose an implementation specific map<string, 
string>::const_iterator.

> Be able to retrieve configuration keys by index
> -----------------------------------------------
>
>                 Key: MAPREDUCE-5917
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5917
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: pipes
>    Affects Versions: trunk
>            Reporter: Joe Mudd
>            Priority: Minor
>         Attachments: MAPREDUCE-5917.patch
>
>
> The pipes C++ side does not have a configuration key/value pair iterator.  It 
> is useful to be able to iterate through all of the configuration keys without 
> having to expose a C++ map iterator since that is specific to the JobConf 
> internals.



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

Reply via email to