hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Mudd (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5917) Be able to retrieve configuration keys by index
Date Fri, 06 Jun 2014 13:12:03 GMT

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

Mime
View raw message