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 "piyush mukati (JIRA)" <ji...@apache.org> on 2017/09/05 05:15:02 UTC

[jira] [Commented] (MAPREDUCE-6893) MultipleOutputs to have configuration overrides for a named output

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

piyush mukati commented on MAPREDUCE-6893:
------------------------------------------

I would like to volunteer for this. Will send a patch shortly.

> MultipleOutputs to have configuration overrides for a named output
> ------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6893
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6893
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: piyush mukati
>            Priority: Minor
>
> To support the use-cases where we have to give different config for different named output.
> one use case may be that 
> we need different schemas for different named output and schema is passed as config in Record Writer.  
> or example: 
> we have two named output  "schema1" and "schema2" 
> for schema1 we want the value of key "schema" as "int"
> while for  schema2 it should be "string".
> so we can provide config as
> "multioutput.overrideKeys= schema"
> "multioutput. schema1.schema=int"
> "multioutput. schema2.schema=string"
> and while creating context in getContext 
> config for schema1 will resolved to  "schema=int"
> and for  schema2 it will  be "schema=string"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org