You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2017/08/29 15:35:00 UTC

[jira] [Commented] (OOZIE-3044) Oozie Purge Error

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

Peter Bacsko commented on OOZIE-3044:
-------------------------------------

[~Yoann] for more efficient debugging, we need the entire stack trace. Do you have it? If it was caught in {{XCommand.call()}} then it should have been logged.

> Oozie Purge Error
> -----------------
>
>                 Key: OOZIE-3044
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3044
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>         Environment: Hadoop 2.7.3
> MySQL Database
>            Reporter: Yoann Bellet
>
> Hello,
> Our Oozie server works pretty well, excepting the different actions to purge the MySQL database :
> {code:title=Logs|borderStyle=solid}
> 2017-08-29T16:27:15+02:00 uabigord01.rouen.francetelecom.fr oozie ERROR - org.apache.oozie.command.PurgeXCommandUSER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] Exception,
> 2017-08-29T16:27:15.905954+02:00 java.lang.NullPointerException
> {code}
> {code:title=oozie-site.xml|borderStyle=solid}
> <property>
>         <name>oozie.services</name>
>         <value>
>             ...
>             org.apache.oozie.service.ShareLibService,
>             org.apache.oozie.service.PurgeService,
>             ...
>         </value>
> </property>
> <property>
>         <name>oozie.service.PurgeService.older.than</name>
>         <value>30</value>
>         <description>
>             Jobs older than this value, in days, will be purged by the PurgeService.
>         </description>
>     </property>
>     <property>
>         <name>oozie.service.PurgeService.coord.older.than</name>
>         <value>7</value>
>         <description>
>             Completed coordinator jobs older than this value, in days, will be purged by the PurgeService.
>         </description>
>     </property>
>     <property>
>         <name>oozie.service.PurgeService.bundle.older.than</name>
>         <value>7</value>
>         <description>
>             Whether to purge completed workflows and their corresponding coordinator actions of long running
>             coordinator jobs if the completed workflow jobs are older than the value specified in
>             oozie.service.PurgeService.older.than.
>         </description>
>     </property>
>     <property>
>         <name>oozie.service.PurgeService.purge.old.coord.action</name>
>         <value>true</value>
>         <description>
>             Completed bundle jobs older than this value, in days, will be purged by the PurgeService.
>         </description>
>     </property>
>     <property>
>         <name>oozie.service.PurgeService.purge.interval</name>
>         <value>3600</value>
>         <description>
>             Interval at which the purge service will run, in seconds.
>         </description>
>     </property>
> {code}
> I don't understand why I have a NPE on this case, I built this version of Oozie on centos6.8, 
> other usecases seems to be OK, except than our database continues to grow.
> Best regards, 
> Yoann Bellet.



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