hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6420) String-to-String Maps should be embeddable in Configuration
Date Sat, 12 Dec 2009 01:17:18 GMT

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

Chris Douglas updated HADOOP-6420:
----------------------------------

    Status: Open  (was: Patch Available)

bq. This does so without needing to worry about escape characters or other clumsiness that
would result via embedding a single (k, v) pair in the Configuration.

On the other hand, the current approach ignores inadvertent collisions and {{getMap}} is inefficient
and not threadsafe.

bq. much as how we have defined mechanisms to embed ints, booleans, and lists of strings in
the Configuration, we need to expand the set of datatypes we can embed in the configuration
to also include maps of string\->string

This isn't embedding maps of string\->string; it's selecting a subset of keys in a string\->string
map using an unenforced naming convention. It's par for (ab)uses of Configuration, but it's
hackish.

Have you looked into using a Stringifier or something along those lines? Escaping shouldn't
be too clumsy...

> String-to-String Maps should be embeddable in Configuration
> -----------------------------------------------------------
>
>                 Key: HADOOP-6420
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6420
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: HADOOP-6420.2.patch, HADOOP-6420.3.patch, HADOOP-6420.4.patch, HADOOP-6420.patch
>
>
> Per MAPREDUCE-1126, we need to be able to take a map of (key, value) pairs and embed
that inside a Configuration object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message