falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-2069) cleanup task fails with NPE when server is restarted
Date Mon, 11 Jul 2016 11:56:11 GMT

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

Pragya Mittal updated FALCON-2069:
----------------------------------
    Description: 
While restarting server , logs contain the following error :
{noformat}
2016-07-11 11:37:42,170 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.LogCleanupService
(ServiceInitializer:45)
2016-07-11 11:37:42,181 INFO  - [main:] ~ Falcon log cleanup service initialized (LogCleanupService:56)
2016-07-11 11:37:42,181 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.LogCleanupService
(ServiceInitializer:52)
2016-07-11 11:37:42,182 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.GroupsService
(ServiceInitializer:45)
2016-07-11 11:37:42,185 INFO  - [Timer-2:] ~ Cleaning up logs at: Mon Jul 11 11:37:42 GMT
2016 (LogCleanupService:67)
2016-07-11 11:37:42,186 ERROR - [Timer-2:] ~ Error in cleanup task:  (LogCleanupService:71)
java.lang.NullPointerException
    at org.apache.falcon.cleanup.AbstractCleanupHandler.delete(AbstractCleanupHandler.java:133)
    at org.apache.falcon.cleanup.FeedCleanupHandler.cleanup(FeedCleanupHandler.java:39)
    at org.apache.falcon.service.LogCleanupService$CleanupThread.run(LogCleanupService.java:69)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Monitoring Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:62)
2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Alerting Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:77)
2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Auditing Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:92)
2016-07-11 11:37:42,206 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.GroupsService
(ServiceInitializer:52)

{noformat}

  was:Retries of timedout instance was fixed as part of https://issues.apache.org/jira/browse/FALCON-1677.
Although this is still not happening as it is failing for teh check of manually killed instance.


> cleanup task fails with NPE when server is restarted
> ----------------------------------------------------
>
>                 Key: FALCON-2069
>                 URL: https://issues.apache.org/jira/browse/FALCON-2069
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: trunk, 0.10
>            Reporter: Pragya Mittal
>
> While restarting server , logs contain the following error :
> {noformat}
> 2016-07-11 11:37:42,170 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.LogCleanupService
(ServiceInitializer:45)
> 2016-07-11 11:37:42,181 INFO  - [main:] ~ Falcon log cleanup service initialized (LogCleanupService:56)
> 2016-07-11 11:37:42,181 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.LogCleanupService
(ServiceInitializer:52)
> 2016-07-11 11:37:42,182 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.GroupsService
(ServiceInitializer:45)
> 2016-07-11 11:37:42,185 INFO  - [Timer-2:] ~ Cleaning up logs at: Mon Jul 11 11:37:42
GMT 2016 (LogCleanupService:67)
> 2016-07-11 11:37:42,186 ERROR - [Timer-2:] ~ Error in cleanup task:  (LogCleanupService:71)
> java.lang.NullPointerException
>     at org.apache.falcon.cleanup.AbstractCleanupHandler.delete(AbstractCleanupHandler.java:133)
>     at org.apache.falcon.cleanup.FeedCleanupHandler.cleanup(FeedCleanupHandler.java:39)
>     at org.apache.falcon.service.LogCleanupService$CleanupThread.run(LogCleanupService.java:69)
>     at java.util.TimerThread.mainLoop(Timer.java:555)
>     at java.util.TimerThread.run(Timer.java:505)
> 2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Monitoring Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:62)
> 2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Alerting Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:77)
> 2016-07-11 11:37:42,192 INFO  - [Timer-2:] ~ Registered Auditing Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin
(ChainableMonitoringPlugin:92)
> 2016-07-11 11:37:42,206 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.GroupsService
(ServiceInitializer:52)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message