You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Joe Mudd (JIRA)" <ji...@apache.org> on 2014/06/06 15:12:03 UTC

[jira] [Updated] (MAPREDUCE-5917) Be able to retrieve configuration keys by index

     [ 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)