You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Junfan Zhang (Jira)" <ji...@apache.org> on 2021/12/16 02:11:00 UTC

[jira] [Commented] (OOZIE-3647) Oozie should use the ConfigurationService.getInt instead of Services.get().getConf().getInt

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

Junfan Zhang commented on OOZIE-3647:
-------------------------------------

Linked PR: https://github.com/apache/oozie/pull/66

> Oozie should use the ConfigurationService.getInt instead of Services.get().getConf().getInt
> -------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3647
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3647
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Junfan Zhang
>            Assignee: Junfan Zhang
>            Priority: Major
>
> -Now in {{ActionCheckerService}} and {{{}CoordMaterializeTriggerService{}}}, the callables will be queued using the {{{}CallableQueueService.queueSerial{}}}. In the internal implementation of {{{}queueSerial{}}}, all callables will be composited as single {{{}CompositeCallable{}}}, which means it will be executed in single thread serially.-
> -To speed to the execution time, we should set the default number of callables in a batch in {{ActionCheckerService}} and {{{}CoordMaterializeTriggerService{}}}, like the- [-RecoveryService-|https://github.com/apache/oozie/blob/e010fbda91bd78cccb227fc872b3ddd317a5ce6a/core/src/main/java/org/apache/oozie/service/RecoveryService.java#L453]
>  
> Oozie should use the {{ConfigurationService.getInt}} instead of {{Services.get().getConf().getInt}}, and the default value should be added in oozie-default.xml.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)