You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2016/01/19 06:11:39 UTC

[jira] [Resolved] (FALCON-1746) cleanup service fails with NoSuchMethodError with jdk 1.7

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

Pallavi Rao resolved FALCON-1746.
---------------------------------
    Resolution: Invalid

As mentioned before, source was compiled with JDK 1.8 and the runtime was JRE 1.7, hence the exception.

> cleanup service fails with NoSuchMethodError with jdk 1.7
> ---------------------------------------------------------
>
>                 Key: FALCON-1746
>                 URL: https://issues.apache.org/jira/browse/FALCON-1746
>             Project: Falcon
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: Pallavi Rao
>
> When starting server with jdk 1.7 clean-up service fails with following exception
> {noformat}
> 2016-01-12 16:51:28,024 ERROR - [Timer-2:] ~ Error in cleanup task:  (LogCleanupService:71)
> java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
> 	at org.apache.falcon.entity.store.ConfigurationStore.getEntities(ConfigurationStore.java:321)
> 	at org.apache.falcon.cleanup.ProcessCleanupHandler.cleanup(ProcessCleanupHandler.java:33)
> 	at org.apache.falcon.service.LogCleanupService$CleanupThread.run(LogCleanupService.java:68)
> 	at java.util.TimerThread.mainLoop(Timer.java:555)
> 	at java.util.TimerThread.run(Timer.java:505)
> 2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Monitoring Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:62)
> 2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Alerting Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:77)
> 2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Auditing Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:92)
> 2016-01-12 16:51:28,051 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.GroupsService (ServiceInitializer:52)
> 2016-01-12 16:51:28,052 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.ProxyUserService (ServiceInitializer:45)
> 2016-01-12 16:51:28,052 INFO  - [main:] ~ Loading proxyuser settings [falcon.service.ProxyUserService.proxyuser.#USER#.hosts]=[*] (ProxyUserService:102)
> 2016-01-12 16:51:28,052 INFO  - [main:] ~ Loading proxyuser settings [falcon.service.ProxyUserService.proxyuser.#USER#.groups]=[*] (ProxyUserService:87)
> 2016-01-12 16:51:28,052 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.ProxyUserService (ServiceInitializer:52)
> 2016-01-12 16:51:28,053 INFO  - [main:] ~ FalconAuditFilter initialization started (FalconAuditFilter:49)
> 2016-01-12 16:51:28,055 INFO  - [main:] ~ FalconAuthenticationFilter initialization started (FalconAuthenticationFilter:83)
> 2016-01-12 16:51:28,095 INFO  - [Timer-2:] ~ AlertMessage{event='log-cleanup-service-failed', alert='Exception in log cleanup service', error='java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;'} (ALERT:43)
> {noformat}



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