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

Roman Shaposhnik reopened OOZIE-260:
------------------------------------


> GH-369: EL Math functions to allow dynamic reducer calculation
> --------------------------------------------------------------
>
>                 Key: OOZIE-260
>                 URL: https://issues.apache.org/jira/browse/OOZIE-260
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> I'm proposing adding a MathFunctions class to define EL functions which will 
> allow dynamic reducer calculations. Specifically: min, max, round, toLong. I 
> can add others if people think they would be useful.
> I was thinking that the reducer calculation would look something like this in 
> the workflow.xml:
>     <property>
>       <name>mapred.reduce.tasks</name>
>       <value>${min(round(fs:dirSize(processing_dir) / 128000), 100)}</value>
>     </property>
> For the background on this request, here is the email thread with Alejandro: 
> http://tech.groups.yahoo.com/group/Oozie-users/message/753
> I'll post when I have the code changes finished and tested.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to